Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Is there anyway to publish Event handler at receiver side.?

Avatar

Level 4

Hello Team,

 

I would like to write a publish event handler at receiver serve, which means I would like to register/handle an event if my publish serve receives any content from the author server.

 

Is there any way.?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 4
Thanks @Dipti_Chauhan.

Avatar

Employee Advisor

@vmadala You can refer this example for implementation:

https://github.com/sunilkumar1117/AEM-Sample/blob/master/acs-aem-samples-master/bundle/src/main/java...

 

The event generated on the sending side (author) is under the topic com/day/cq/replication (ReplicationAction.EVENT_TOPIC). The event generated on the receiving side (publish) is under the topic com/adobe/granite/replication (ReplicationEvent.EVENT_TOPIC)

 

Avatar

Level 4
Thanks @shelly-goel.