Hi All,
Have defined EVENT_FILTER in my code so that my replication event gets trigger only in that respective path mentioned as event filter. But here event gets trigger at every location path.
Below is the sample snippet have defined for filter:
@component(service = EventHandler.class, immediate = true, property = {
Constants.SERVICE_DESCRIPTION + "= DAM Asset Events",
EventConstants.EVENT_TOPIC + "=" + ReplicationAction.EVENT_TOPIC,
EventConstants.EVENT_FILTER + "path=/content/dam/projectA"})
If replication events are triggered under "/content/dam/projectB" then those are also executing the logic. This is not expected so needs to restrict it. Could anyone let me know how to resolve it.
Thanks
RSL
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @rsl_lucky,
Looks like similar query as in below post. (Latest update is available in the below thread)
Hi @rsl_lucky,
Looks like similar query as in below post. (Latest update is available in the below thread)
@rsl_lucky You have missed "=" in filter, please try something like this -->
EventConstants.EVENT_FILTER + "=(paths=/var/...somepath/*)"
Thanks,
Disha
Views
Replies
Total Likes
@dishi_k, Indeed the query is an year ago & got it resolved long back as stated in above url. Anyway thanks for it.
Views
Replies
Total Likes
Views
Like
Replies