Is there a way to view all items waiting in a replication queue? | Community
Skip to main content
LinearGradient
Level 6
October 16, 2015
Solved

Is there a way to view all items waiting in a replication queue?

  • October 16, 2015
  • 3 replies
  • 2623 views

Either in CRXDE or anywhere else?

About 50 items are displayed via http://localhost:4502/etc/replication/agents.author/replication-author-publisher-01/jcr:content.queue.json, but is there a way to see the whole queue?

Also the queueStatus returned via the above URL is:

  • queueStatus
     
    {
    • agentName"replication agent to publisher 01",
    • agentId"replication-author-publisher-01",
    • isBlockedfalse,
    • isPausedfalse,
    • time1405400481043,
    • processingSince-1,
    • lastProcessTime-1,
    • nextRetryPeriod-1405400481044
    },

Why are processingSince and lastProcessTime equal to -1? Also why is the nextRetryPeriod a negative value?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by tanilium

You can also write a groovy script to do the same as well. You can download the groovy console from Package Manager, iirc, and go from there.

The advantage is that in the script you could tie the asset to whom requested it as well, and start getting fancy from there. :)

Typically with stuck queues, I found the script to be better and more reliable than using the default admin interface.

3 replies

vikramca06
Level 4
October 16, 2015

Hi,

Go to CQ home page --> tools --> Replication --> double click on the Replication agent which you configured to publish the pages.

There you can see the the items in Queue.

Thanks.

Vikram

LinearGradient
Level 6
October 16, 2015

This is not correct. As I have mentioned, that page only shows 50 items. I want to see all the items.

One way is by modifying /libs/cq/replication/components/agent/queue.json.jsp and remove the limit. But surely there should be a way to display every item in the queue out of the box.

tanilium
taniliumAccepted solution
October 16, 2015

You can also write a groovy script to do the same as well. You can download the groovy console from Package Manager, iirc, and go from there.

The advantage is that in the script you could tie the asset to whom requested it as well, and start getting fancy from there. :)

Typically with stuck queues, I found the script to be better and more reliable than using the default admin interface.