Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-802

[AMQ7, queue, configuration] 2 queues defined in config with same name does not throw an exception at startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • AMQ 7.0.2.GA
    • None
    • None
      • add sample address config from description to broker.xml
      • start broker.
    • AMQ Broker 7.1 Sprint 2

    Description

      Queue names are intended to be unique within the broker. When 2 queues are defined in the configuration file with the same name (like below) no exception or warning is thrown

        <address name="mytopic_2">
                  <multicast>
                      <queue name="queue.A" />
                      <queue name="queue.B" />
                      <queue name="queue.C" />
                  </multicast>
               </address>
       
      
               <address name="mytopic_1">
                  <multicast>
                      <queue name="queue.A" />
                      <queue name="queue.B" />
                      <queue name="queue.C" />
                  </multicast>
               </address>
      

      output from the broker

      16:03:25,411 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue DLQ
      16:03:25,412 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue ExpiryQueue
      16:03:25,412 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.A
      16:03:25,413 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.B
      16:03:25,413 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.C
      16:03:25,413 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.A
      16:03:25,413 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.B
      16:03:25,414 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying queue queue.C
      16:03:25,759 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started NIO Acceptor at 0.0.0.0:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
      16:03:25,761 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started NIO Acceptor at 0.0.0.0:5445 for protocols [HORNETQ,STOMP]
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              rhn-support-pfox Patrick Fox (Inactive)
              Andy Taylor Andy Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: