Hi experts,
Please let me know if anyone is able to successfully use Apache sling content 'reverse distribution' , queues are getting created in publisher but from author not able to pull it.
Solved! Go to Solution.
Views
Replies
Total Likes
@AEMLearner12 can you check with the below curl formate
1. first add a content using path param and pull it back using below curl - see if it works
Pull -
curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/reverse -d "action=PULL" -d 'path=/content/sample1'
@AEMLearner12 are you getting any error/exception in logs? were you able to push/pull content using curl?
Refer to the below link to get more info on the subject
Hi @Nitin_laad ,
Thanks for replying, I could send the request to publish queue successfully.
curl -u admin:admin http://localhost:4503/libs/sling/distribution/services/agents/myreverse -d "action=ADD" -d "path=/home/users/system/users"
But when I try to pull in author using below command,
curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/reverse -d "action=PULL"
I am getting below response.
{"success":false,"state":"DROPPED"}
Hi @AEMLearner12 ,
You are trying to pull /home paths from publisher to author. I am not sure on the requirement but just incase if you are trying for a User Sync among the publishers, you need to raise customer support ticket,
@AEMLearner12 can you check with the below curl formate
1. first add a content using path param and pull it back using below curl - see if it works
Pull -
curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/reverse -d "action=PULL" -d 'path=/content/sample1'
I did follow these to set it up and it worked for me. Please go through these steps and check if you have missed something:
https://www.youtube.com/watch?v=z6nf2QSUM8k
https://www.youtube.com/watch?v=5n45O5DMne4
Hi @Anish-Sinha ,
Thaks for replying, I followed the steps mentiond in video but i was not able to pull the content from publisher to author, i am facing some problem, could u pls help, Issue is mentioned in @Nitin_laad reply section.
Views
Likes
Replies