Closed
Description
I have 2 node cluster and I am currently performing recovery test. I have network interval set to 1 sec, but actual recovery is taking around 1 mt.
factory.setAutomaticRecoveryEnabled(true);
factory.setNetworkRecoveryInterval(1000);
Steps
- Create a mirror queue
- Start producing and consuming
- Shutdown one of the rabbitmq-server
- Look at the logs. Logs show following message for about 1 mt and then recovers:
com.rabbitmq.client.AlreadyClosedException: connection is already closed due to connection error; protocol method: #method<connection.close>(reply-code=320, reply-text=CONNECTION_FORCED - broker forced connection closure with reason 'shutdown', class-id=0, method-id=0)
Metadata
Metadata
Assignees
Labels
No labels