[rabbitmq-discuss] consume messages from multiple queues based on wildcard?
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...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss