Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3610

sharedDeadLetterStrategy is not discarding the DLQ messages.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 5.5.0
    • None
    • Broker

    Description

      Hi,
      Am using AMQ 5.5. I would like to disable the option of sending dead letters to ActiveMQ.DLQ destination and completely discard (automatically) the messages that would be sent there otherwise. To do this I had configured the broker as below:

              <amq:destinationPolicy>
                  <amq:policyMap>
                    <amq:policyEntries>
                      <amq:policyEntry topic=">" producerFlowControl="false" >
                          <amq:deadLetterStrategy>
                                <amq:sharedDeadLetterStrategy processExpired="false" />
                          </amq:deadLetterStrategy>
                      </amq:policyEntry>
                      <amq:policyEntry queue=">" producerFlowControl="false">
                          <amq:deadLetterStrategy>
                                <amq:sharedDeadLetterStrategy processExpired="false" />
                          </amq:deadLetterStrategy>
                      </amq:policyEntry>
      
                    </amq:policyEntries>
                  </amq:policyMap>
              </amq:destinationPolicy>
      

      However, I still see that the messages are getting stored in DLQ. Can you please let me know what could be causing this?
      Do I need to fix anything in the config?

      Thanks
      Hari

      Attachments

        Activity

          People

            Unassigned Unassigned
            harimharan Hariharan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: