Skip to content

Reconnection after RabbitMQ shutdown is not successful #60

@ghost

Description

I put together a minimal example project illustrating this issue, see the attached zip file. The issue was observed on Windows (running a Docker Host inside a Virtual Box VM) and on Ubuntu.

Steps to reproduce:

  1. Build project: mvn clean install

  2. Run docker-compose up -d in the project's root directory, where the docker-compose.yml file resides

  3. Start the application: java -jar target/lyra-minimal-0.0.0-SNAPSHOT-jar-with-dependencies.jar

  4. Shutdown RabbitMQ: Open a second console, go to the project's root folder and run docker-compose kill rabbitmq

  5. Observe that the application seems to start connection recovery:

    RabbitMQ connection created.
    Done
    Starting RabbitMQ connection recovery...
    
  6. Start RabbitMQ again: docker-compose up -d rabbitmq

  7. Observe that nothing happens in the output of the application

  8. Observe that the application suddenly quits after a few minutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions