[rabbitmq-discuss] How Reopen a closed connection?

Emile Joubert emile at rabbitmq.com
Tue Jul 10 10:06:48 BST 2012


Hi,

On 09/07/12 21:53, Thiago Burgo Belo wrote:
> I implemented a IConnection Pool, to minimize overhead of connection
> creation in .NET Client, but when the server which my connection was
> connected down, I wanna detect and reconnect without remove and recreate
> my connection.

AMQP connections are relatively cheap compared to database connections,
therefore it is unusual to require pooling. There is no simple way of
resurrecting a closed connection. It will be simpler to replace the
closed connection with a new one.

-Emile



More information about the rabbitmq-discuss mailing list