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

HTTP gateway does not remove API when Camel CXF route stopped

    XMLWordPrintable

Details

    • % %
    • Hide

      1. Install Fuse 6.3.0
      2. Create fabric. Create a container for the gateway-http profile and another for the Camel route
      3. Built and install quickstarts/cxf/camel-cxf-code-first
      4. Add the profile quickstarts-cxf-camel.cxf.code.first to the application container
      5. Look at the gateway API output on port 9000. Note that the API /cxf/order is available on one container
      6. By logging into the application container and using "camel:route-stop", or in some other way, shut down the Camel routes.
      7. Note that the gateway API output still shows the API on one container.
      8. Restart the Camel routes
      9. Note that the gateway API output shows the API twice on the same container.

      Each restart of the route adds a new endpoint to the gateway's list

      Show
      1. Install Fuse 6.3.0 2. Create fabric. Create a container for the gateway-http profile and another for the Camel route 3. Built and install quickstarts/cxf/camel-cxf-code-first 4. Add the profile quickstarts-cxf-camel.cxf.code.first to the application container 5. Look at the gateway API output on port 9000. Note that the API /cxf/order is available on one container 6. By logging into the application container and using "camel:route-stop", or in some other way, shut down the Camel routes. 7. Note that the gateway API output still shows the API on one container. 8. Restart the Camel routes 9. Note that the gateway API output shows the API twice on the same container. Each restart of the route adds a new endpoint to the gateway's list

    Description

      When a Camel route that exposes a CXF endpoint is stopped, it is not removed from the API list known to the Fabric8 HTTP gateway. However, when the Camel route is restarted, a new, bogus endpoint is added to the gateway's list. The list builds up indefinitely as the route is stopped and started.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tasato Tadayoshi Sato
              rhn-support-kboone Kevin Boone
              Jan Kasztura Jan Kasztura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: