Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
fuse-7.11.1-GA
-
None
Description
Camel RabbitMQ component is creating a new connection every time it recovers from a broken link.
To reproduce, follow this steps:
1. Install RabbitMQ v3.8.12 and v3.9.7;
2. Run a camel route that connects to RabbitMQ;
3. Open the RabbitMQ admin console and look how many connections were opened. It was 3 in my case.
4. Drop the link between the route and rabbitMQ; Notice you need to drop the link, don't shutdown the camel process.
5. Notice that the route tries to reconnect. Notice that in RabbitMQ admin console, the connection is dropped after 60 seconds.
6. Now, you should reestablish the link. Notice that now you have 4 connections;
7. Extra test: from the RabbitMQ admin console, force the connection to close. Notice that Fuse retreat 2 more connects. Now you have 5.
This issue is related to the backport of a community fix in the product: ENTESB-19626
Attachments
Issue Links
- is related to
-
ENTESB-19626 AutomaticRecovery from RabbitMQ Connection Factory doesn't recover from everythin
- Done