Closed LGLO closed 8 years ago
I've debugged deeper this issue and it turned out that rabbitmq amqp-client gets TimeoutException when closing channel. To make long story short: because of that exception Connection gets closed. This will cause exception when publishing, so all should be done is to cancel subscription.
I run this test app:
Q1 size increases quickly and broker sets flow control on this connection. I see consumption rate drops and then stalls and finally connection is closed. RabbitMQ logs:
I think this is connected to #6 because when test is run with fix for synchronous publish it never happened.