Commit 8311af003ab888ca53a042ce5e9955b7cd5a845b reveals previously hidden bug.
Steps to reproduce:
- configure rabbitmq consumer to connect to existing rabbitmq server but to non existing queue Q1
- start rabbitmq consumer with several channels.
- after some time create Q1 on target rabbitmq server
All channels are connected to rabbitmq server and can consume messages from Q1
All channels are connected to rabbitmq server and but only one channel can consume messages from Q1
Separation on channels creating and their starting causes that channels are not started in reconnect loop if they were successfully created in createConsumer but not started in startConsumers().