Skip to content

Client recovery not working #22

Closed
Closed
@mohitanchlia

Description

@mohitanchlia

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

  1. Create a mirror queue
  2. Start producing and consuming
  3. Shutdown one of the rabbitmq-server
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions