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:
-
Build project: mvn clean install
-
Run docker-compose up -d in the project's root directory, where the docker-compose.yml file resides
-
Start the application: java -jar target/lyra-minimal-0.0.0-SNAPSHOT-jar-with-dependencies.jar
-
Shutdown RabbitMQ: Open a second console, go to the project's root folder and run docker-compose kill rabbitmq
-
Observe that the application seems to start connection recovery:
RabbitMQ connection created.
Done
Starting RabbitMQ connection recovery...
-
Start RabbitMQ again: docker-compose up -d rabbitmq
-
Observe that nothing happens in the output of the application
-
Observe that the application suddenly quits after a few minutes
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:
Build project:
mvn clean installRun
docker-compose up -din the project's root directory, where the docker-compose.yml file residesStart the application:
java -jar target/lyra-minimal-0.0.0-SNAPSHOT-jar-with-dependencies.jarShutdown RabbitMQ: Open a second console, go to the project's root folder and run
docker-compose kill rabbitmqObserve that the application seems to start connection recovery:
Start RabbitMQ again:
docker-compose up -d rabbitmqObserve that nothing happens in the output of the application
Observe that the application suddenly quits after a few minutes