Hello
I'm using .NET library.
For reproducing the issue, pull rabbitmq:3-management image docker.
Run container : docker run -it --rm -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Compile and execute the program. When you see a consumer on queue "QueueTest", go to Connections menu, click on the connection and close it.
Then in container log, we can see :