ActiveMQ - sending message to specific consumer

Posted by archer on Stack Overflow See other posts from Stack Overflow or by archer
Published on 2010-03-17T09:43:06Z Indexed on 2010/03/17 10:01 UTC
Read the original article Hit count: 299

Filed under:

Hello.

Having single AMQ broker and 100 consumers connected. I would send the message to some specific consumer, so other consumers does not receive it (client-side filtering won't work).

Simplest way is to create virtual destinations (name them queue:consumer-) for example and send messages there. However this will lead to 100 new queues which makes it more complex to monitor. Is there any other way to do this having single queue?

© Stack Overflow or respective owner

Related posts about activemq