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

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

Anton Koscejev created CAMEL-5655:
-------------------------------------

             Summary: 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


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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5655.
--------------------------------

    Resolution: Fixed

Thanks for reporting.
                
> 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-blueprint, camel-spring
>    Affects Versions: 2.10.1
>            Reporter: Anton Koscejev
>            Assignee: Claus Ibsen
>              Labels: camelContextId, endpoint, spring
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>         Attachments: CAMEL-5655.zip
>
>
> 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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464614#comment-13464614 ] 

Claus Ibsen edited comment on CAMEL-5655 at 9/27/12 9:55 PM:
-------------------------------------------------------------

Can you post a sample.
                
      was (Author: davsclaus):
    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
>            Assignee: Claus Ibsen
>              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

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

Posted by "Anton Koscejev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464622#comment-13464622 ] 

Anton Koscejev edited comment on CAMEL-5655 at 9/27/12 10:12 PM:
-----------------------------------------------------------------

Attached a test suite. It fails to create ApplicationContext (not on assert). Proxy requests an endpoint by reference, which is found in Spring ApplicationContext, but with a different CamelContext specified.
                
      was (Author: koscejev):
    Attached a test suite. It fail to create ApplicationContext (not on assert). Proxy requests an endpoint by reference, which is found in Spring ApplicationContext, but with a different CamelContext specified.
                  
> 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-blueprint, camel-spring
>    Affects Versions: 2.10.1
>            Reporter: Anton Koscejev
>            Assignee: Claus Ibsen
>              Labels: camelContextId, endpoint, spring
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>         Attachments: CAMEL-5655.zip
>
>
> 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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-5655:
----------------------------------

    Assignee: Claus Ibsen
    
> 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
>            Assignee: Claus Ibsen
>              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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5655:
-------------------------------

      Component/s:     (was: camel-core)
                   camel-spring
                   camel-blueprint
    Fix Version/s: 2.10.2
                   2.11.0
                   2.9.4

Thanks I have the issue reproduced
                
> 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-blueprint, camel-spring
>    Affects Versions: 2.10.1
>            Reporter: Anton Koscejev
>            Assignee: Claus Ibsen
>              Labels: camelContextId, endpoint, spring
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>         Attachments: CAMEL-5655.zip
>
>
> 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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Anton Koscejev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Koscejev updated CAMEL-5655:
----------------------------------

    Attachment: CAMEL-5655.zip

Attached a test suite. It fail to create ApplicationContext (not on assert). Proxy requests an endpoint by reference, which is found in Spring ApplicationContext, but with a different CamelContext specified.
                
> 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-blueprint, camel-spring
>    Affects Versions: 2.10.1
>            Reporter: Anton Koscejev
>            Assignee: Claus Ibsen
>              Labels: camelContextId, endpoint, spring
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>         Attachments: CAMEL-5655.zip
>
>
> 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