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

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

It is a bad solution but it works:
If i use @EndpointInject then inside my method:

camelContext = ((DefaultProducerTemplate) template).getContext();

                
> 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

Reply via email to