<div>Hi,</div><div><br></div>It all depends on why you want the message to be back in the queue. Also do you want the exact message to be back in the queue or just the contents of it?<div><br><div>If you want the exact message you can basic.reject it I guess. See the Spec here:�<a href="http://www.rabbitmq.com/amqp-0-9-1-quickref.html">http://www.rabbitmq.com/amqp-0-9-1-quickref.html</a></div>
<div><br></div><div>If you just want the msg body back in the queue then you can republish the message body.</div><div><br></div><div>Regards,</div><div><br></div><div>Alvaro<br><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 10:29 AM, Bamboula <span dir="ltr">&lt;<a href="mailto:aloroi18@gmail.com">aloroi18@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
After using Dequeue() to my queue, I want to restore the retrieved message to<br>
the queue. Is this possible?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/Restoring-a-message-to-the-queue-tp33362597p33362597.html" target="_blank">http://old.nabble.com/Restoring-a-message-to-the-queue-tp33362597p33362597.html</a><br>

Sent from the RabbitMQ mailing list archive at Nabble.com.<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>
</font></span></blockquote></div><br></div></div>