<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank you Michael & Matthew. I will read this documentation.</span></div><div><br><span></span></div><div><span>Best,</span></div><div><span>-Uday.<br></span></div><div> </div><div>-------------------------<br>I do not blog but e-write:<br>http://uds-web.blogspot.com<br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Michael Bridgen <mikeb@rabbitmq.com><br><b><span style="font-weight: bold;">To:</span></b> rabbitmq-discuss@lists.rabbitmq.com<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 8, 2011 7:22 AM<br><b><span style="font-weight: bold;">Subject:</span></b>
Re: [rabbitmq-discuss] Load Balancing Consumers<br></font><br>> I have a need to load balance consumers on a queue. I saw a similar<br>> thread last month-<br>> <a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-August/014533.html" target="_blank">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-August/014533.html</a><br>><br>> My requirements are little different. Publisher ----> sends messages<br>> ---> Queue <------ 1 or more consumers listens on this queue.<br>><br>> All my consumers are the same application. I need to load balance(simple<br>> round robin) the consumers so that my load gets distributed. For example<br>> if i have 2 consumers and publishers sends 2 messages to the queue,<br>> message 1 should go to consumer 1 and message 2 should to consumer 2 and<br>> this logic repeats.<br>><br>> Any idea/thoughts how i can achieve this in Rabbit MQ?<br><br>This is exactly
what RabbitMQ will do if you connect multiple consumers <br>to a queue. You may have to be careful with setting basic.qos. See <br><a href="http://www.rabbitmq.com/tutorials/tutorial-two-python.html" target="_blank">http://www.rabbitmq.com/tutorials/tutorial-two-python.html</a><br><br><br>-Michael<br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br><br><br></div></div></div></body></html>