Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9200

Context component conflates endpoints with the same local id from different CamelContexts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.15.3
    • Fix Version/s: 2.16.4, 2.17.1, 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      The context component experiences clashes between endpoints with the same local name, but from different contexts. If two contexts both contain a local endpoint "direct:out", any route involving both endpoints will fail to start due to a FailedToStartRouteException; "Multiple consumers for the same endpoint is not allowed: Endpoint[direct://out]."

      As an example, the following set of routes will fail due to this issue:
      from("direct:in").to("blackBox:in");
      from("blackBox:out").to("direct:out");
      from("direct:out").to("mock:results");

      See thread:
      http://camel.465427.n5.nabble.com/Context-Component-issue-td5770975.html

        Attachments

        1. CAMEL-9200.patch
          9 kB
          Aaron Birkland

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              birkland Aaron Birkland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: