Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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)

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)