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

virtual topic individual DLQ prefix/suffix is not configurable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • JBoss A-MQ 6.3
    • JBoss A-MQ 6.2.1
    • broker
    • None
    • Hide

      Edit activemq.xml for a deadletterstrategy:

                      <policyEntry queue=">" ... >
                              <deadLetterStrategy>
                                  <individualDeadLetterStrategy
                                          queuePrefix="DLQ.MYPREFIX."
                                          queueSuffix=".MYSUFFIX.DLQ"
                                          useQueueForQueueMessages="true"
                                          processExpired="true"
                                          processNonPersistent="true"
                                          enableAudit="false"/>
                              </deadLetterStrategy>
                      </policyEntry>
      
                      ...
      
                      <virtualTopic name="test.virtual.>" prefix="myconsumer.*."/>
      

      And note that the following queues are created (after messages have expired, for instance):

      1. ActiveMQ.DLQ.Topic.myconsumer.a.test.virtual
      2. consumer.a.test.virtual

      Show
      Edit activemq.xml for a deadletterstrategy: <policyEntry queue= "> " ... > <deadLetterStrategy> <individualDeadLetterStrategy queuePrefix= "DLQ.MYPREFIX." queueSuffix= ".MYSUFFIX.DLQ" useQueueForQueueMessages= "true" processExpired= "true" processNonPersistent= "true" enableAudit= "false" /> </deadLetterStrategy> </policyEntry> ... <virtualTopic name= "test.virtual.> " prefix= "myconsumer.*." /> And note that the following queues are created (after messages have expired, for instance): 1. ActiveMQ.DLQ.Topic.myconsumer.a.test.virtual 2. consumer.a.test.virtual

      A virtual topic subscriber queue, when configured for a individualDeadLetterStrategy, does not allow the prefix or suffix to be configured, it is always "ActiveMQ.DLQ.Topic.

      {Subscriber Queue Name}

      ".

              gtully@redhat.com Gary Tully
              rhn-support-shiggs Stephen Higgs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: