<font face="trebuchet ms,sans-serif">Hi Raoul,</font><div><font face="trebuchet ms,sans-serif"><br></font></div><div><font face="trebuchet ms,sans-serif">if you set prefetch-count to 1 on the consumer channel then each consumer on the queue will get one message at a time. Exploiting the default broker behavior by which multiple consumers on a queue are delivered messages in a round-robin fashion, the end result should be what you described.<br>
</font><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 10:37, Raoul Buzziol <span dir="ltr"><<a href="mailto:raoulus@gmail.com">raoulus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I'm looking for a way to consume messages from a queue by multiple consumer one at a time. The queue should deliver a new message only after an ack. <br><br>The way I found to handle it is to let the consumer be exclusive. But In this case only one consumer can be access to the queue. <br>
My clients comes and goes, should they try to consume all interested queues and skip those whom rejects access? And then poll accessibility of available queues?<br>Are there better solutions, is this the way or am I wrong?<br>
<br>Thanx, Raoul<br><br>(.net client on RabbitMQ 2.8.1)<br>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a 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></blockquote></div><br></div>