[rabbitmq-discuss] Handling server connection failures

John johngyates at hotmail.com
Tue Apr 16 19:27:44 BST 2013


Hi,

I am looking for some advice on how best to handle connection failures
within my C#.NET test client using rabbitMQ 3.0.4.

I have read http://www.rabbitmq.com/consumer-cancel.html but I am struggling
to understand how to implement this exactly and also confused as to whether
this is the best way to proceed for the consumer to detect when a
subscription has failed and requires a re-subscription to an alternative
node in the cluster.

If I stop my node to which my client is connected to when it is subscribing
I receive the OperationInterruptedException exception but is this an
acceptable and consistent approach for detecting when the connection to the
node has been lost ?

Appreciate any assistance in this area.

Thanks



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Handling-server-connection-failures-tp26040.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list