Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-985

Empty queuePrefix="" cause jmx to determine the original queue as DLQ

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.1
    • broker

    Description

      <deadLetterStrategy>
      <individualDeadLetterStrategy
      queuePrefix="" queueSuffix=".SuffDLQ" useQueueForQueueMessages="true" />
      </deadLetterStrategy>

      messes things up when queuePrefix set to ""

      Suppose my queue is EM_TRADE.Q and I force the messages to go to DLQ say sender.setTimeToLive(500);

      If I have a queuePrefix="", it will turn both
      EM_TRADE.Q jmx attribute DLQ = 'true' (This is incorrect)
      EM_TRADE.Q.SuffDLQ jmx attribute DLQ = 'true' (This is correct)

      If you did not assign queuePrefix at all it will default add ActiveMQ.DLQ in front queuePrefix="" is the only way to have the DLQ with nothing in the prefix.

      Attachments

        1. DLQ is true incorrectly.png
          DLQ is true incorrectly.png
          195 kB
        2. dlq-false.png
          dlq-false.png
          201 kB
        3. dlq-true.png
          dlq-true.png
          204 kB

        Activity

          People

            gtully@redhat.com Gary Tully
            rhn-support-whui Roger Hui
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: