[rabbitmq-discuss] RabbitMQ C# client
Simon MacMullen
simon at rabbitmq.com
Tue Mar 18 17:48:17 GMT 2014
On 18/03/14 17:44, S. Doug Hunt wrote:
> The above exception is encountered by both the QueueDeclarePassive method -
> then the following QueueDeclare.
In your code you are catching "Exception". I bet the QueueDeclare() is
throwing an AlreadyClosedException - which has the same Reason as the
original exception, but is really telling you that the channel has
already closed so you can't do anything else with it (as Michael pointed
out).
Cheers, Simon
--
Simon MacMullen
RabbitMQ, Pivotal
More information about the rabbitmq-discuss
mailing list