amqpactivemq-artemisjboss-amq

AMQ Address with multiple clients to a multicast queue


My query is for the product Red Hat AMQ 7.X (and I am using 7.2), which is based on Apache ActiveMQ Artemis and a .Net client connecting to the queue using AMQP protocol.

An Artemis article discusses unicast (point-to-point), multicast (publish-subscribe) and a combination of these addressing: https://activemq.apache.org/artemis/docs/2.0.0/address-model.html

It does not detail the case of two consumers connecting to the same multicast queue under an address. Our requirement is to

A later section describes such a configuration: https://activemq.apache.org/artemis/docs/2.0.0/address-model.html#configuring-a-shared-durable-subscription-queue-with-up-to-10-concurrent-consumers It seems to meet my need, but I wanted to double-check as the explanation above did not cover this scenario.


Solution

  • Any queue (whether multicast or anycast) can support multiple consumers unless you've set max-consumers to 1 or exclusive to true.