Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-965

[AMQ7, openwire, exclusive consumer] AMQ6 openwire clients using exclusive consumer, do not behave the same with an AMQ7 broker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: AMQ 7.0.3.GA
    • Fix Version/s: AMQ 7.2.0.GA
    • Component/s: openwire-protocol
    • Labels:
      None
    • Environment:
      • tested against the 7.0.3 and the upstream master branch.
    • Target Release:
    • Steps to Reproduce:
      Hide

      unit test attached.

      Show
      unit test attached.
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      In AMQ 7, setting the maximum number of consumers for a queue to one does not work the same as an "exclusive consumer" in AMQ 6. In AMQ 6, an exclusive consumer means that one consumer will get all the messages. Any other consumers are still registered, just not consuming messages. When the current exclusive consumer leaves the queue, another consumer becomes the exclusive consumer.

      In AMQ 7, if you set max-consumers = 1 for a queue, when this limit is reached, the broker returns a "AMQ119200" error and does not allow any new consumers to join the queue.
      Show
      In AMQ 7, setting the maximum number of consumers for a queue to one does not work the same as an "exclusive consumer" in AMQ 6. In AMQ 6, an exclusive consumer means that one consumer will get all the messages. Any other consumers are still registered, just not consuming messages. When the current exclusive consumer leaves the queue, another consumer becomes the exclusive consumer. In AMQ 7, if you set max-consumers = 1 for a queue, when this limit is reached, the broker returns a "AMQ119200" error and does not allow any new consumers to join the queue.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      The AMQ 6.3 feature "exclusive consumer" ( http://activemq.apache.org/exclusive-consumer.html ) does not seem work with an AMQ 7 broker.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  pfox Pat Fox
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: