ActiveMQ - sending a message to a specific consumer

The presence of one AMQ broker and 100 consumers. I sent a message to a specific consumer, so other consumers will not receive it (client-side filtering will not work).

The easiest way is to create virtual destinations (for example, call them queue: consumer-) and send messages there. However, this will result in 100 new queues, which will make it more difficult to monitor. Is there any other way to do this with a single queue?

+3
source share
1 answer

You can use JMS selectors .

, . , , , / .

+4

Source: https://habr.com/ru/post/1737301/


All Articles