[rabbitmq-discuss] share a pre-built queue

m.luchak at smartasking.com m.luchak at smartasking.com
Wed Oct 3 17:34:14 BST 2012


Hi Pu,
 
If you want to be able to simply and efficiently modify and update the bindings and have all consumers receive all msgs then I would suggest you create an "exchange to exchange" bind with the binding keys that you require (only need to modify the keys in this one bind) and bind your consumers to this exchange with temporary queues...
 
Matthew
 
-----Original Message-----
From: "Upreti, Prabodh" <Prabodh.Upreti at vce.com>
Sent: Wednesday, October 3, 2012 11:06am
To: "rabbitmq-discuss at lists.rabbitmq.com" <rabbitmq-discuss at lists.rabbitmq.com>
Subject: [rabbitmq-discuss] share a pre-built queue




Hello 
 
I have 5 pre-built queues with specific routing keys.  I may have 20 consumers consuming these queues.  My problem is if I have 5 consumers bound to a queue they all get a message in a round robin fashion.  I would like to be able to provide the same message to those 5 consumers.  Is there a way to do this?  I do know that if I create 5 more queues with the same routing keys and assign it to each consumer, they will all receive that message. 
 
I don't want to do that because then I have to maintain too many queues.  I have to make sure to bind the consumer with the right queue etc.
 
I would appreciate any input.  thank you.
 
regards
pu
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121003/cc3ce17f/attachment.htm>


More information about the rabbitmq-discuss mailing list