<div dir="ltr">Thanks Michael.<div><br></div><div>I somehow didn't get the email for that reply.</div><div><br></div><div>I will take a look at Lyra.</div><div><br></div><div>You mentioned I don't need to release the connection explicitly but It seems I am losing messages due to server not noticing the connection loss. This is what I am doing.</div>
<div><br></div><div>1. My android client connects to the server and subscribe to a named queue for messages.</div><div>2. Other client sends messages on the named queue and android client receives it while connected.</div>
<div>3. I break the network connectivity for android client which raises a ShutdownSignalException.</div><div>4. Other client continues to send the messages. I assume server will hold all these messages and send it to android client whenever the android client is up again</div>
<div>5. Android client waits for the network to be available and connects to the server again</div><div>6. Android client doesn't receive any of the messages sent while it was not connected.</div><div>7. Other client continues to send messages.</div>
<div>8. Android client receives every other message. That gives me a feeling that RabbitMQ is still assuming the earlier client is still connected and sending the messages to it.</div><div><br></div><div>Hope this will give you more clear idea about the issue I am facing.</div>
<div><br></div><div>Thanks a lot for your help</div><div><br></div><div>Regards</div><div>Abid</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Nov 1, 2013 at 1:41 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></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 1 Nov 2013, at 09:36, Abid Varshani <<a href="mailto:abid.varshani@gmail.com">abid.varshani@gmail.com</a>> wrote:<br>
<br>
> Can anyone please provide some guidance on this?<br>
<br>
</div>There was a reply:<br>
<a href="http://rabbitmq.1065348.n5.nabble.com/Destroying-connection-after-ShutdownSignalException-tp30959p30961.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/Destroying-connection-after-ShutdownSignalException-tp30959p30961.html</a><br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
</blockquote></div><br></div>