<font face="trebuchet ms,sans-serif" style>Hi Matt, your understanding is correct, acknowledgements are meaningful only within the context of the same channel, therefore the answer to your last question is no. </font><div style>
<font face="trebuchet ms,sans-serif">If the connection bounces or the channel closes for any other reasons you should not acknowledge the messages your consumer was delivered already and just assume they will be redelivered to the next consumer which will start consuming to the same queue.</font></div>
<br><div class="gmail_quote">On Wed, Mar 7, 2012 at 21:00, Matt Pietrek <span dir="ltr"><<a href="mailto:mpietrek@skytap.com">mpietrek@skytap.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>I thought I understood this topic clearly, but some recent experiences have me seeking more info, as I can't find this exact topic explicitly described.</div>
<div><br></div><div>When a message is delivered on a particular connection/channel combination, can it ever be successfully acknowledged on a different connection?</div><div><br></div><div>My current understanding is "no".</div>
<div><br></div><div>Some background: In our messaging layer, we want to hide the connection drops from the upper application layer. That is, if we try to use a previously working connection/channel, and it fails, we'll simply catch the exception and try to reconnect.</div>
<div><br></div><div>So the question is, after the reconnect, should we even attempt to acknowledge messages read from the original connection?</div><div><br></div><div><br></div></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>