Try PubSub+

Dealing with messages in Dead message Queue

NagaNaga Member Posts: 57

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


  • HeinzHeinz Member, Employee Posts: 7 Solace Employee

    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: 57

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

  • AbhikeshAbhikesh Member Posts: 17
    edited November 2019

    @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: 57

    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 ?

  • AbhikeshAbhikesh Member Posts: 17

    @Naga I think there are no readymade tool available but you can write script/code to achieve the same or if there are requirement to copy messgaes from one solace queue to another solace queue, you can try Solace Hybrid Edge, This utility is based on Apache Camel.

  • NagaNaga Member Posts: 57

    @Abhikesh Yes I am trying to use solace sample codes to achieve this. But facing issues with gradle.
    Hybrid edge- Let me try this as well

Sign In or Register to comment.