Try PubSub+
If you haven't already, check out our new Developer Portal! You'll find useful information about Solace PubSub+ as well as handy resources to get you started.

Dealing with messages in Dead message Queue

NagaNaga Member Posts: 32

Hi Team,
How to process the messages in Dead msg queue and how long messages remain on solace queue?

Comments

  • HeinzHeinz Member, Employee Posts: 6

    The messages stay in the original queue until the TTL for the message (or the queue) expires. The message must also have been published with "DMQ Eligible" flag set and "Respect TTL" must be set on the queue. When the TTL expires on the message it is moved from the original queue into the queue that was configured as the DMQ for the original queue (either a specific queue or the generic default system DMQ).

    Once the message is moved from the original queue into the DMQ, the DMQ Eligible flag is removed from the message, so it will sit in the DMQ until it is processed or deleted. To process messages from the DMQ is the exact same process you would use to process messages from any other Solace Queue.

  • NagaNaga Member Posts: 32

    Thanks Heinz.
    If I want to move the messages from Dead message queue to original solace queue what is the process ?

  • AbhikeshAbhikesh Member Posts: 7
    edited November 28

    @Naga You Can Set TTL value on your Dead message queue and map the original solace queue and once TTL time expired message will move to original solace queue.
    2nd option is to use Solace HybridEdge, With help of HybridEdge you can copy messages from one Queue to another queue even from solace to other messaging products.

  • NagaNaga Member Posts: 32

    Thanks!
    Are there any other ways like using shell script or any other tool which can be executed manually whenever messages has to be forwarded from one queue to another ?

Sign In or Register to comment.