Search code examples
javareplicationaem

How to get replication agents programatically in AEM?


Is there a way to get author replication agents other than using a Sling query?


Solution

  • You can use the AgentManager class tp solve your problem

    The full AEM replication API is defined here