Replication agents for multi domains on AEM
What is the best process to set-up replication agents for multi domain set up on AEM.
We have one author, 2 publishers and 2 dispatchers. 1-1 mapping between dispatcher and publisher. Content is restricted at dispatcher level through each dispatcher configuration (virtual hosts entry). This configuration set up would be for external users who would access dispatcher and publisher.
We would need to set up 2 different replication agents - replicating content of each domain independently for each publisher.
Eg: Domain A and Domain B - Agent A1/A2 should be able to replicate content for Domain A only from author to pub1/pub2
Agent B1/B2 should be able replicate content for Domain B only from author to pub1/pub2.