Expand my Community achievements bar.

SOLVED

Event filter with event handler

Avatar

Level 3

Hi,

As per this https://github.com/arunpatidar02/aem63app-repo/blob/master/java/TestEventHandler.java

 

Event filter is added , I have added the event filter to replication.actiate type.

But due to the mistake in event filter replication.activate is not triggering.

If I remov the event filter it is working fine.

I wanted a event filter to set to pages below /content/myproj so that replication triggers only for.those page activation.

@arunpatidar could you help in resolving the above 

1 Accepted Solution

Avatar

Correct answer by
Level 5

Not entirely sure what your question is - do you want any pages created or modified under /content/myproj to be automatically replicated?

 

If so, why not just use a launcher workflow instead of trying to implement an event handler for it? The launcher can be set on the path /content/myproj and be associated with the replication workflow for this (that is if I got your question right)

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

Not entirely sure what your question is - do you want any pages created or modified under /content/myproj to be automatically replicated?

 

If so, why not just use a launcher workflow instead of trying to implement an event handler for it? The launcher can be set on the path /content/myproj and be associated with the replication workflow for this (that is if I got your question right)