You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/13 12:01:04 UTC

[jira] [Created] (CAMEL-8956) camel-cxf - The namespace parser should use FactoryBean

Claus Ibsen created CAMEL-8956:
----------------------------------

             Summary: camel-cxf - The namespace parser should use FactoryBean
                 Key: CAMEL-8956
                 URL: https://issues.apache.org/jira/browse/CAMEL-8956
             Project: Camel
          Issue Type: Improvement
          Components: camel-cxf
            Reporter: Claus Ibsen
             Fix For: Future


The camel-cxf uses some poor spring namespace parsing where it does not use factory bean for all of those elements - without this the lifecycle of these objects cannot be handled safely.

So you may obtain a <cxf:cxfEndpoint> that is not properly initialized/started. 

If you look at camel-core-xml camel-spring how it does it, then we use factory beans for those elements which allows to control the lifecycle from the getObject method that spring calls.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)