<div dir="ltr">Thanks for the reply Emile, could you please tell me how to configure re-queue messages by Consumer2 instead of closing channel.<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Oct 23, 2013 at 1:54 PM, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 23/10/13 08:21, Rajasekhar P wrote:<br>
&gt; when one of the consumer [ex.Consumer2] received &quot;Message2&quot; then<br>
&gt; am not sending acknowledgement back to the server. �In this case as per<br>
&gt; the documentation other consumer[Consumer1] has to consume<br>
&gt; message[Message2] from the server right? But, Its not happening,<br>
<br>
</div>The unacknowledged messages held by Consumer2 will be returned to the<br>
queue once the channel (or connection) closes or when the unacknowledged<br>
messages are explicitly requeued by Consumer2. When that happens the<br>
messages will become eligible for redelivery to Consumer1.<br>
<br>
Also see the second tutorial for further discussion on this topic:<br>
<a href="http://www.rabbitmq.com/tutorials/tutorial-two-java.html" target="_blank">http://www.rabbitmq.com/tutorials/tutorial-two-java.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-Emile<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>