<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Emile,<br><br>I am clear with below approach. I have gone through RabbitMQ site.<br><br>My Main concern is:<br>(A) We need to handle multiple publishers and multiple consumers for same topic. And, If we create one queue each for every consumer, given the size of consumer base we have, our queue size might really hit high.<br><br>Is there any limit you would suggest to number of Queues that RabbitMQ could handle efficiently?<br><br>Our application is more of broadcast/multicast type. Meaning, If some one person does something, the same needs to be broadcasted to other folks on that thread! So, If we maintain one Queue each for each consumer, it is essentially duplicating the same Information 'n' number of times! So, I was wondering If there is any way to maintain only one Queue copy and publish it to how many required instead of duplicating so many queue
copies in the memory?<br><br>Thanks,<br>Preeti<br><br>--- On <b>Tue, 2/7/12, Emile Joubert <i><emile@rabbitmq.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Emile Joubert <emile@rabbitmq.com><br>Subject: Re: [rabbitmq-discuss] Regd: Publish Many Scenarios<br>To: "preeti sp" <preetisp_83@yahoo.com><br>Cc: "RabbitMQ Discuss" <rabbitmq-discuss@lists.rabbitmq.com><br>Date: Tuesday, February 7, 2012, 1:50 AM<br><br><div class="plainMail">Hi,<br><br>On 07/02/12 08:32, preeti sp wrote:<br>> Is there any way we could handle the scenario of Multiple Producers and<br>> Multiple Consumers bound to the same Queue using RabbitMQ ? Description<br>> below!<br>> <br>> (1) Bind Multiple consumers to one Queue based on some binding keys<br><br>Yes, it is possible for multiple consumers to subscribe to the same<br>queue, but each message will only be
delivered to one consumer. If you<br>want each consumer to receive each message then you will need to declare<br>a queue for each consumer and bind the queues to an exchange. Compare<br>the second and third tutorials for an illustration:<br><a href="http://www.rabbitmq.com/getstarted.html" target="_blank">http://www.rabbitmq.com/getstarted.html</a><br><br>> (2) Multiple publishers publish some messages to the above Queue<br><br>Yes, but bear in mind that publishers publish to an exchange, not to a<br>queue directly.<br><br>> (3) And, Ensure each of the consumers get a copy of each message<br><br>No, see the answer to (1) above.<br><br><br><br>-Emile<br></div></blockquote></td></tr></table>