[rabbitmq-discuss] .Net Client locks trying to create a channel on a blocked connection

Francesco Mazzoli francesco at rabbitmq.com
Thu Aug 23 16:55:07 BST 2012

Hi Kenneth,

At Thu, 23 Aug 2012 14:45:45 +0000,
Kenneth Ross wrote:
> I'm using the RabbitMQ .Net client in C# and have noticed that if I try to
> create a channel (IModel) on a connection that is already established but in a
> blocking state then the code will just sit and wait.
> [...]
> Does anyone have any advice on how best to handle this situation?

The best thing to do is simply to create a new connection when you create a new
channel, since connections from which you're publishing will always be prone to
be blocked.

Francesco * Often in error, never in doubt

More information about the rabbitmq-discuss mailing list