You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aaron Birkland (JIRA)" <ji...@apache.org> on 2015/10/08 07:00:31 UTC

[jira] [Updated] (CAMEL-9200) Context component conflates endpoints with the same local id from different CamelContexts

     [ https://issues.apache.org/jira/browse/CAMEL-9200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Birkland updated CAMEL-9200:
----------------------------------
    Attachment: CAMEL-9200.patch

Patch against master 34bcd6cf8b234633a0fd92154174d413efbdbb6f

> Context component conflates endpoints with the same local id from different CamelContexts
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-9200
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9200
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.3
>            Reporter: Aaron Birkland
>         Attachments: CAMEL-9200.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)