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.?
Solved! Go to Solution.
Hi @vmadala
You can use ResourceChangeListener on your publisher to listen the change in JCR.
https://stackoverflow.com/questions/48721324/handling-events-using-resourcechangelistener-aem-6-3
Hope this helps!!
Thanks
Dipti
Hi @vmadala
You can use ResourceChangeListener on your publisher to listen the change in JCR.
https://stackoverflow.com/questions/48721324/handling-events-using-resourcechangelistener-aem-6-3
Hope this helps!!
Thanks
Dipti
Views
Replies
Total Likes
@vmadala You can refer this example for implementation:
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)
Views
Replies
Total Likes
Views
Likes
Replies