Reputation: 5117
I am coming from the MSMQ world so forgive me if I am missing something obvious.
Is there a way to make RabbitMQ gracefully attempt to reconnect to a connection that has been dropped (for example because of poor network connectivity) in the background, so that attempts to publish to it / receive from it will not throw exceptions?
Upvotes: 1
Views: 626
Reputation: 19305
I don't know if the RabbitMQ .NET libraries are any different, but with the Java libraries (v2.3.1) I had to catch the exception which was thrown when my broker went down and attempt to reconnect manually, using my own retry logic and back-off heuristics.
Upvotes: 1