Open
Description
Describe the bug
I'm consuming from a rabbitmq queue in my quarkus app. When reloading the app in dev mode, I'm expecting that the app will disconnect from RabbitMQ, and then connect again. This is what happens, but after the reload, there is 2 connections to the queue instead of 1. I think it's because when disconnecting, a shutdown handler of a queue consumer is triggered (see io.vertx.rabbitmq.impl.RabbitMQClientImpl#basicConsumer
), which reconnects back. And then the app reloads and connects again.
Expected behavior
after dev mode reload, there should be only 1 connection to consumed queue
Actual behavior
after dev mode reload, there are multiple connections to consumed queue
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment