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 2022/09/02 09:04:00 UTC

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

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

Claus Ibsen resolved CAMEL-8956.
--------------------------------
    Resolution: Abandoned

> 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
>            Priority: Major
>             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
(v8.20.10#820010)