Emile,<br><br>I've compared Subscription class with my custom subscription using Beyond compare<br>and the only differences are:<br><br><br>1. I've added custom binding methods<br>2. I deleted "shouldDelete" logic because don't wanted to remove queues<br>
<br><br>I can confirm the RabbitMQ is listing the connection.<br><br>In fact in queues appear something like this.<br><br>Listing connections ...<br>guest 192.168.0.121 62966 running<br><br>(checked after more than 5 minutes after killing the application)<br>
Using TCPVIEW (SysInternals tools) there is no connection from my machine to the server.<br><br><br>Name | Node | Parameters | status | Ready | unacked | Total | incoming | deliver/get | ack<br> <br>alfonsoqueue | rabbit@nodename | D | Idle | 0 | 1000 | 1000 | | 0/s| |<br>
<br>In connection and channels (web admin) I can see the connection in state Running <br><br>Regards,<br><br>Alfonso<br><br><div class="gmail_quote">2011/3/31 Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Alfonso,<br>
<br>
I'm still not able to reproduce the problem you describe. As far as I can see the subscription and the underlying connection are properly disposed and the shutdown eventhandler is called if the connection is interrupted.<br>
<br>
As previously suggested, is it possible that some of your modifications prevent the socket exception from affecting the Subscription? Are you able to reproduce the problem without any modifications to the rabbit library?<br>
<br>
On 31/03/11 10:49, Alfonso wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
One more thing regarding my previous message:<br>
<br>
1. I disabled the newtwork connection from my development machine<br>
(RabbitMQ server is on another machine).<br>
<br>
2. I've see that the connection is still in some way "alive" even if I<br>
</blockquote>
<br>
You can confirm whether the connection is alive by running "rabbitmqctl list_connections" or "netstat".<br>
<br>
<br>
<br>
Regards<br><font color="#888888">
<br>
Emile<br>
</font></blockquote></div><br>