[rabbitmq-discuss] Fwd: .Net RabbitMQ.Client Issue: Deadlock on ConnectionShutdown
Emile Joubert
emile at rabbitmq.com
Fri Sep 21 15:25:30 BST 2012
Hi Derek,
On 21/09/12 14:59, Derek Greer wrote:
> I'm wanting to loop through all my
> Subscription instances and call Renew() after I have a new connection.
> Part of the Renew() logic is to stop the current thread, and part of the
> normal course of stopping is to attempt to close the channel/model.
You shouldn't close the channel/IModel from within a shutdown callback.
Also consider performing connection re-establishment rather than channel
re-establishment/renewal.
-Emile
More information about the rabbitmq-discuss
mailing list