🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Queue not able to send expiry message to DMQ

bikash
bikash Member Posts: 4

Hi,

I created 2 message queue

1) Main_Queue

2) DEAD_MSG_QUEUE

The main queue has been configured 'DEAD_MSG_QUEUE' as DMQ name and 'Respect TTL enabled' with Maximum TTL (sec) as 180 sec.

A producer is sending a message with DMQEligible to true and when the trough dashboard i can verify that message properties for DMQEligible set correctly to True.

But the message is not moving to DEAD_MSG_QUEUE when I checked stats for the main queue I am seeing this

Attempted move to DMQ due to Expiry, Failed for all messages expired.

Is there any other setting I am missing here?

Tagged:

Comments

  • TomF
    TomF Member, Employee Posts: 412 Solace Employee

    Hi @bikash,

    Can you check your DEAD_MSG_QUEUE is able to receive messages? Is it enabled, for instance? Can you send messages directly to it?

  • bikash
    bikash Member Posts: 4

    Hi @TomF ,

    Yes I can send messages directly to DEAD_MSG_QUEUE 

  • bikash
    bikash Member Posts: 4

    Some images of my configuration

  • jmahrok
    jmahrok Member Posts: 5

    Hi @bikash,

    Bind the DMQ to main queue , and pass the DMQ name without '#'.

  • bikash
    bikash Member Posts: 4

    @jmahrok ,

    I tried passing the name without # but got the same result.

  • himanshu
    himanshu Member, Employee Posts: 67 Solace Employee

    Hi,

    Please make sure to do the following:

    1. Name of DMQ should be exactly the same as what you specify in the DMQ setting (remove # if you don't have it in the name of the DMQ).
    2. Published messages must have DMQ Eligible setting enabled. Messages that are not DMQ eligible will not be forwarded to DMQ.

    Hope that helps.