How to read the replication events from outside java standalone application?

Avatar

Avatar

krao1

Avatar

krao1

krao1

26-01-2020

Our Requirement:

 

How to get the events when we click on Activate/Replicate Button from outside of AEM.

View Entire Topic

Avatar

Avatar

jakej40603950

Avatar

jakej40603950

jakej40603950

27-01-2020

Write a Sling or JCR event listener for the events you are looking to capture.

 

The listener class will be called every time the relevant events are fired. Within the class you can write the events to some node and keep pinging the node from your standalone java app at regular intervals to see the captured events. Or else you can call a servlet hosted in your standalone app from the event listener every time the event occurs.