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

The names returned by AddressControl.getQueueNames() also include remote forward queue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • AMQ 7.4.4.CR1
    • None
    • None
    • None
    • +
    • Verified in a release
    • Hide
      • Filters the names of remote forward queues by comparing the value of ActiveMQServerControl.getQueueNames() and AddressControl.getQueueNames().
        • ActiveMQServerControl.getQueueNames() does not return the name of the remote forward queues, which does not have an MBean.
        • Queue names that do not exist in ActiveMQServerControl.getQueueNames() are remote forward queues and can be ignored.
        • Basically, remote forward queues use GUID as the name, so It will not be mistakenly judged as a common queue name.
      Show
      Filters the names of remote forward queues by comparing the value of ActiveMQServerControl.getQueueNames() and AddressControl.getQueueNames(). ActiveMQServerControl.getQueueNames() does not return the name of the remote forward queues, which does not have an MBean. Queue names that do not exist in ActiveMQServerControl.getQueueNames() are remote forward queues and can be ignored. Basically, remote forward queues use GUID as the name, so It will not be mistakenly judged as a common queue name.
    • Hide
      1. start broker0 and broker1 (clustering)
      2. connect broker0 from a producer
      3. connect broker1 from a consumer
      4. send messages from the producer to an address
      5. receive the messages on the consumer
      6. => remote forward queue is created in the address
      7. => and the problem will reproduce

      ※ "/examples/features/clustered/clustered-topic" example project will be useful for reproducing

      Show
      start broker0 and broker1 (clustering) connect broker0 from a producer connect broker1 from a consumer send messages from the producer to an address receive the messages on the consumer => remote forward queue is created in the address => and the problem will reproduce ※ "/examples/features/clustered/clustered-topic" example project will be useful for reproducing

    Description

      • The names returned by AddressControl.getQueueNames() also include remote queue bindings, e.g.:

        Remote queue bindings should not be included in the returned queue names.
      • There is no corresponding MBean for remote queue bindings. This problem originates from a report that the queue MBean cannot be acquired despite the queue names returned by AddressControl.getQueueNames().

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              dbruscin Domenico Francesco Bruscino
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: