You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ge@@ru (JIRA)" <ji...@apache.org> on 2012/11/21 12:44:04 UTC

[jira] [Commented] (SMX4-1281) CamelContextAware interface not catched correctly on blueprint bundle

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

Ge@@ru commented on SMX4-1281:
------------------------------

So a possible solution could be to use @EndpointInject and add a getCamelContext() method to ProducerTemplate class. In my case, this could be a valid solution.
                
> CamelContextAware interface not catched correctly on blueprint bundle
> ---------------------------------------------------------------------
>
>                 Key: SMX4-1281
>                 URL: https://issues.apache.org/jira/browse/SMX4-1281
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.5.0
>         Environment: Linux, java-1.7.0.7
>            Reporter: Ge@@ru
>         Attachments: test-blueprint.tar.bz2
>
>
> setCamelContext method of a class that implement CamelContextAware interface it isn't called when object is defined on blueprint.xml file.
> On previous version 4.4.x this issue is not reproducible.

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