Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
Mar 15, 2016 4:19 AM UTC

FYI: There isn't any OOTB Solution. however, One option is that you can enable & disabled them manually as per you need. If you want to push content to a specific publisher, disabled others manually.

Other options are customized one and you could build your own.

----Jitendra

5 replies

Kunal_Gaba_
New Member
Mar 14, 2016 11:37 PM UTC

The following article describes this use case - http://aemfaq.blogspot.com/2013/05/how-to-configure-replication-agent-to.html. Basically you will have to create a specific users for your replication agent and assign permission to the one which you want to use and not to others. 

Translate
Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
Mar 15, 2016 4:19 AM UTC

FYI: There isn't any OOTB Solution. however, One option is that you can enable & disabled them manually as per you need. If you want to push content to a specific publisher, disabled others manually.

Other options are customized one and you could build your own.

----Jitendra

Translate
kautuk_sahni
Level 9
Mar 15, 2016 4:45 AM UTC

Hi

Apart from what Kunal has mentioned, please find below one more community article to help you:-

Link:- http://www.aemcq5tutorials.com/tutorials/restrict-content-specific-publishers-aem/

1. Assign specific permission to user from useradmin console:

        Go to USERADMIN [ http://localhost:4502/useradmin ] console.
        Create a new user with name “japan-queue“. [ Click here to Learn how to create a user in AEM]
        Double click on japan-queue user and go to Permissions tab. Provide read permission to / root level
        From content allow only and deny access to all folders.

2. Creating a forward replication agent:

        Go to MiscAdmin [ http://localhost:4502/miscadmin ].
        Select Agents on Author page under Replication folder and create a new page using Replication Agent as Template.
        Double click on newly created replication agent and edit its settings.

 

Please refer to the article to more help.

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
Level 5
Mar 16, 2016 5:11 PM UTC

Thanks everyone for the quick response. It helps me a lot. 

My purpose is simple , I am following the Jitendra's solution as a quick fix.  

I will take note of all these , In future we might need to implement these .

 

Thanks everyone :) :)

Translate
This account is inactive. You can find me at @Umaheswari_Yakkala
joerghoh
Adobe Employee
Adobe Employee
Mar 16, 2016 9:20 PM UTC

Hi,

disabling the other agents isn't a good general solution to your problem, because all activations, which happen at the same time (while the other agents are disabled) are also only sent through the active agents. So you might have collateral damage.

The only way to manage this per activation is to use the API. The Replicator interface offers a replicate() method with ReplicationOptions [1]; in these options you set a filter, which just accepts the agent you're interested in.

Kind regards,
Jörg

 

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/replication/Replicator.html#replicate%28javax.jcr.Session,%20com.day.cq.replication.ReplicationActionType,%20java.lang.String,%20com.day.cq.replication.ReplicationOptions%29

Translate