[ https://issues.apache.org/activemq/browse/CAMEL-2607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58624#action_58624 ]
Claus Ibsen commented on CAMEL-2607: ------------------------------------ Ah CamelContextFactoryBean implements Disposable and then I assume Spring keep it around so it can *destroy* what the factory bean have created, which is SpringCamelContext. So it should stick around. But from a design point of view its not nice that its the factory bean which is the listener, when in realty it should be the SpringCamelContext. So I still do not think this solutions is the right. > CamelContextFactoryBean and SpringCamelContext's onApplicationEvent() are all > been called in Spring 3.0.1 > --------------------------------------------------------------------------------------------------------- > > Key: CAMEL-2607 > URL: https://issues.apache.org/activemq/browse/CAMEL-2607 > Project: Apache Camel > Issue Type: Improvement > Reporter: Willem Jiang > Assignee: Willem Jiang > Fix For: 2.3.0 > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.