Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Is there a way to configure a replication agent/queue to prevent duplicate items in the queue?

Avatar

Level 7

 Hi,

Out of the box, when a user publishes a site multiple times very quickly, the site's nodes can end up multiple times in the queue. This is especially true if the user does this when non of the site's nodes are replicated before.

Is there a way to configure the queue so that when an item that is already in the queue is to be added to queue once again, the queue prevents the second instance to be added (i.e. to behave like a unique queue)?

A solution that might work even better for us is that, pretending that we have a queue with the following elements (head: left, tail: right)

A, B, C, D, E, F, G

And then the user adds, for example, D to it again, the queue deletes the existing D and adds the new D to the end of the queue:

A, B, C, E, F, G, D

Is there a way to configure replication agents/queues to work like this?

1 Accepted Solution

Avatar

Correct answer by
Level 10

There are multiple ways to handle it at project level & there is no out of the box configuration for it.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

There are multiple ways to handle it at project level & there is no out of the box configuration for it.