AMQ Address with multiple clients to a multicast queue
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKPz5qhCkKGdpPJ0wkSm5JqlliSJoZg92-H4DuCruovhkVFuXerCphZt9wys_Gr3uwQyXObMHDwattjG5BSeCEl_LdDq1GPLct8qYyRyX4fZ9C93oW-TX7IGZLYDwqRgfFCXA4aUxkBAcS/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6VebLk98DYwS3K2nWZSCatab-q4HrSuRk91M4fQA8SHrKU_-x-lq1n780pSU_bIVLqMRv6pc3dhhh-Y2PUwBS9mM0BxvY1eM6XsM-e7Diu4z-wAoeDG0vB3-2_1U9RE8sO0lg4PHiIXbI/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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.
Thanks @JustinBertram, moved the second part here stackoverflow.com/questions/51579188/…
– Praveen Nayak
6 hours ago
1 Answer
1
Any queue (whether multicast or anycast) can support multiple consumers unless you've set max-consumers
to 1
or exclusive
to true
.
max-consumers
1
exclusive
true
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
I recommend you break your 2-part question into 2 actual questions otherwise you may get answers to one part and not the other and it will be difficult to determine which answer is fully correct.
– Justin Bertram
22 hours ago