[rabbitmq-discuss] Closing RabbitMq Blocked Connection

Matthias Radestock matthias at rabbitmq.com
Sat Mar 8 19:55:30 GMT 2014


On 08/03/14 19:51, chetan dev wrote:
> Why don't Connection.close() and Model.close() work while closing the
> connection from client side once detected blocked?

Connection.close() is a synchronous operation. It performs a protocol 
level handshake and ensures that all commands/publishes sent on the 
connection have reached the server.

Wben a connection is blocked, rabbit isn't reading from the connection 
(that's what blocking means), so therefore cannot respond to the close 
requests from the client.

Matthias.


More information about the rabbitmq-discuss mailing list