Mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3929) CXF @deprecation for some of the examples
Date Mon, 02 May 2011 15:52:04 GMT


Christian Schneider commented on CAMEL-3929:

Yes .. it is part of the redesign of the bus extensions Dan did.

Bus extensions should now be declared in a text file. 
See the file from cxf core as an example:

The implementation can be found here:

The first parameter is the name of the implementation class the second is optionally the interface
it should be published with. The third parameter is boolean and says if the initialization
should be lazy.

So I think in case of camel-cxf the file could contain:

I think the examples should not be affected by this as they usually do not define bus extensions.

There will be some warnings for the examples as most .xml imports in spring are now deprecated
but this is another thing. 

> CXF @deprecation for some of the examples
> -----------------------------------------
>                 Key: CAMEL-3929
>                 URL:
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.7.1
>            Reporter: Claus Ibsen
>            Assignee: Daniel Kulp
>            Priority: Minor
> Notice CXF logging this warning when I did a mvn install in the examples
> 2011-05-02 17:38:54,028 [main           ] WARN  ExtensionManagerImpl           - Loading
Bus extensions via bus-extensions.xml (found url jar:file:/Users/davsclaus/.m2/repository/org/apache/camel/camel-cxf/2.8-SNAPSHOT/camel-cxf-2.8-SNAPSHOT.jar!/bus-extensions.xml)
is deprecated.  Use META-INF/cxf/bus-extensions.txt instead.
> We will have to check every example that uses CXF for this warn and resolve it.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message