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.

Accepted Solutions (1)

Accepted Solutions (1)

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.

 

Answers (1)

Answers (1)

Avatar

Avatar

ankushb

Employee

Avatar

ankushb

Employee

ankushb
Employee

27-01-2020

Are you looking to deploy replication events as described here 

https://helpx.adobe.com/experience-manager/using/replication_events.html