Hi,
We have created in API in AEM 6.2. This API takes JSON as an input arguments in creates JCR nodes based on the JSON. Its working fine. Our problem is that we have multiple publisher instances in both stage and prod so if whenever API is hit in either publisher instances and nodes are created on that instance then those created nodes should get replicated on remaining publishers and author as well.
We have tried the replicator class but that only replicates from author to publishers but not vice versa and publisher to publisher.
Any help on this would be really appreciated.
Thanks
Views
Replies
Total Likes
I think that this will be better answered in the Adobe Experience Manager forum. Moving now.
Views
Replies
Total Likes
if you create right replication agent, then the replication between publish-publish should also work, please see similar thread AEM 6.1 | Can we configure replication from publish to publish ?
Views
Replies
Total Likes
You can use content distribution for this (check the links below).
On the other hand I would definitly like to question your implementation design. Uploading data into a single publish instance will always limit your scalability, as you need to replicate/distribute the content. Do you need to store the content in the repo or is a shared database (reached by all publishs) a better solution? Of course it requires additional infrastructure, but it makes your application design much simpler.
Jörg
Apache Sling :: Content Distribution (org.apache.sling.distribution)
Views
Replies
Total Likes
Views
Likes
Replies