<font face="trebuchet ms,sans-serif">Andy, you would have to <a href="http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.recover">recover</a> the messages.<br></font><br><div class="gmail_quote">On Thu, Dec 15, 2011 at 00:29, Andy Walker <span dir="ltr"><<a href="mailto:walkeraj@gmail.com">walkeraj@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>So, I am playing around with the POE module in an attempt to get the hang of using RabbitMQ. I have written two programs, a producer and a consumer that operate on a single, persistent queue. Everything seems to work, save for one thing: In order to simulate failure, I have written the consumer to randomly not ack the messages it receives. The problem is that the server does not seem to be re-delivering these messages. If I kill and restart the consumer, it receives all of the messages it didn't ack. If I leave it running, however, they never seem to be re-sent. This concerns me because, if I have five consumers running, and they all kick back a failure on the same message (unlikely, yes, but possible), what happens to the message? Does it stay undelivered forever? How do I solve this problem?</div>
<div><br></div><div>Code is here: <a href="http://pastie.org/3017289" target="_blank">http://pastie.org/3017289</a></div>
<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>