You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2012/05/22 20:13:40 UTC

[jira] [Updated] (CAMEL-5299) EventNotifiers don't work under Blueprint

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

Raul Kripalani updated CAMEL-5299:
----------------------------------

    Attachment: blueprint-eventnotifier-bug.xml

Attaching a test Blueprint file.
                
> EventNotifiers don't work under Blueprint
> -----------------------------------------
>
>                 Key: CAMEL-5299
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5299
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint, camel-core
>    Affects Versions: 2.10.0
>            Reporter: Raul Kripalani
>            Priority: Critical
>              Labels: blueprint, events
>         Attachments: blueprint-eventnotifier-bug.xml
>
>
> EventNotifiers don't work with Blueprint Camel Contexts. Testing on latest 2.10-SNAPSHOT, updated on 22 May 16:45 GMT.
> After some debugging, it looks like the bean lookup performed on line 202 of {{AbstractCamelContextFactoryBean.afterPropertiesSet()}} triggers the initialization of the CamelContext as part of the lookup. 
> As part of the init, all services are started, including the ManagementContext and its EventNotifiers (which we were just looking up).
> EventNotifiers are then added but never started because they came in late.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira