<div dir="ltr">Can anyone please provide some guidance on this? This is really limiting my ability to use RabbitMQ effectively with android.<div><br></div><div>Thanks</div><div>Abid</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Oct 29, 2013 at 9:07 PM, Abid Varshani <span dir="ltr"><<a href="mailto:abid.varshani@gmail.com" target="_blank">abid.varshani@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 dir="ltr">Hi <div><br></div><div>I am connecting to rabbitmq-server from an android client. And I want to be able to destroy the connection whenever network connection is lost. The problem is as soon as network connection is lost I get ShutdownSignalException. And if I try to close the connection in this state it crashes.</div>
<div><br></div><div>Moreover if I run the following command on server, the connection still seems to be running.</div><div><br></div><div><b>rabbitmqctl list_connections</b></div><div><b><br></b></div><div>What is the best way to destroy the connection after <b>ShutdownSignalException</b></div>
<div><b><br></b></div><div>Thanks</div><div><b><br></b></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Abid</div></font></span></div>
</blockquote></div><br></div>