[rabbitmq-discuss] consume messages from multiple queues based on wildcard?

Michael Klishin mklishin at gopivotal.com
Wed Jul 17 21:33:24 BST 2013

David van Geest:

> I was wondering if it was possible to have a consumer subscribe to multiple queues, based on some kind of wildcard pattern. 
> For example, if all the queues in question were named "messages.<MAC>" where <MAC> is a MAC address, could a consumer subscribe to "messages.*"?

No, but you can set up message routing such that messages.<MAC> would go to the same queue.
Then you can add as many consumers as you need to that queue.

In other words, with RabbitMQ pattern matching happens at the routing stage, not message delivery.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130718/1343874a/attachment.pgp>

More information about the rabbitmq-discuss mailing list