[rabbitmq-discuss] erroneous basicGet closing the channel?

Yogesh Ketkar yogimogi at gmail.com
Tue Jan 24 03:56:31 GMT 2012


Doing channel.basicGet(queueName, false); where queueName does not
exist, throws an exception

by: com.rabbitmq.client.ShutdownSignalException: channel error;
reason: {#method<channel.close>(reply-code=404, reply-text=NOT_FOUND -
no queue 'foobar' in vhost '/' ........

And after that doing any operation on the channel results in
com.rabbitmq.client.AlreadyClosedException

Is this expected behaviour? Are there any other calls on channel which
end up throwing an exception also close the channel?

regards, Yogesh


More information about the rabbitmq-discuss mailing list