Skip to content
Discussion options

You must be logged in to vote

@Pramod34 please see this complete docker compose project:

https://github.com/lukebakken/rabbitmq-dotnet-client-1584

Running make up will bring up a RabbitMQ cluster, with a .NET consuming and producing application.

I have tested "force close" via the Management UI, as well as stopping a node to which an application is connected, via docker compose stop rmqX.

The applications do recover, however, I did have to subscribe to the ConnectionShutdown, ModelShutdown and RecoverySucceeded events to get things restored "just right". Without waiting long enough for connection.IsOpen to return true, sometimes recovery just didn't work right. I'm not exactly sure why at this time.

I am going to crea…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Pramod34
Comment options

@lukebakken
Comment options

Comment options

You must be logged in to vote
1 reply
@lukebakken
Comment options

Answer selected by lukebakken
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants