JSchoreels opened a new pull request #4384:
URL: https://github.com/apache/camel/pull/4384


   Hi,
   
   We met a condition in production where the Connection Factory of Rabbitmq 
won't recover (when isAutomaticRecoveryEnabled is set to true). It's easily 
reproducible by calling the ".close()" method on it. 
   It's explained here : https://www.rabbitmq.com/api-guide.html#recovery
   
   The current code would always returns the same connection, not 
re-establishing it, if isAutomaticRecoveryEnabled is enabled.
   
   Our solution, based on the fact we just have "isOpen" to check the state of 
the channel/connection was to re-establish the connection in the 
RabbitMQConsumer even if "isAutomaticRecoveryEnabled" is enabled.
   
   What's your thought about it ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to