You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/27 12:52:08 UTC

[jira] [Commented] (CAMEL-5655) Camel Endpoint ignores camelContextId property in Spring configuration

    [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464614#comment-13464614 ] 

Claus Ibsen commented on CAMEL-5655:
------------------------------------

Can you post a sample. I don't thin <endpoint> have the camelContextId attribute, which it should.
                
> Camel Endpoint ignores camelContextId property in Spring configuration
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-5655
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5655
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.1
>            Reporter: Anton Koscejev
>              Labels: camelContextId, endpoint, spring
>
> Camel Endpoint, if configured outside camelContext element in Spring configuration, ignores camelContextId property. 
> Steps to reproduce: Configure two contexts in spring configuration. Then in the same config file configure two  endpoints outside camelContext, but with camelContextId specified. Both endpoints will be created pointing to the same (first) camel context, despite being configured to different contexts. Attempting to use them by reference results in failure, as endpoint camelContext doesn't match the expected one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira