Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-20697

AutomaticRecovery from RabbitMQ Connection Factory is always creating a new connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • fuse-7.11.1-GA
    • Camel
    • None
    • Very Likely

      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

            rnetuka@redhat.com Radovan Netuka
            Asouza@redhat.com Angelo Souza
            Tomas Veskrna Tomas Veskrna
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: