<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><div>Abid</div></div>