You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/02 17:37:03 UTC

[jira] [Created] (CAMEL-3929) CXF @deprecation for some of the examples

CXF @deprecation for some of the examples
-----------------------------------------

                 Key: CAMEL-3929
                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
             Project: Camel
          Issue Type: Task
          Components: examples
    Affects Versions: 2.7.1
            Reporter: Claus Ibsen
            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: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027703#comment-13027703 ] 

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:
http://svn.apache.org/repos/asf/cxf/trunk/rt/core/src/main/resources/META-INF/cxf/bus-extensions.txt

The implementation can be found here:
http://svn.apache.org/repos/asf/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/extension/ExtensionManagerImpl.java
http://svn.apache.org/repos/asf/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/extension/ExtensionFragmentParser.java

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:
org.apache.camel.component.cxf.transport.CamelTransportFactory::true

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: https://issues.apache.org/jira/browse/CAMEL-3929
>             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: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3929.
--------------------------------

    Resolution: Fixed

No more WARN when building CXF examples
                
> CXF @deprecation for some of the examples
> -----------------------------------------
>
>                 Key: CAMEL-3929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.7.1
>            Reporter: Claus Ibsen
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> 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.
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

        

[jira] [Commented] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027696#comment-13027696 ] 

Claus Ibsen commented on CAMEL-3929:
------------------------------------

I assume its something new in CXF 2.4.0, or am I mistaking?

> CXF @deprecation for some of the examples
> -----------------------------------------
>
>                 Key: CAMEL-3929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.7.1
>            Reporter: Claus Ibsen
>            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: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027698#comment-13027698 ] 

Daniel Kulp commented on CAMEL-3929:
------------------------------------


Yes.  The way 2.4.0 loads/finds extensions was optimized in 2.4.0 and the way Camel registers the camel transport is deprectated.  (actually, the way camel does it was deprecated a LONG LONG time ago, but no warning was ever displayed)

Fixing this will be part of CAMEL-3901.



> CXF @deprecation for some of the examples
> -----------------------------------------
>
>                 Key: CAMEL-3929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
>             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: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3929:
-------------------------------

    Fix Version/s: 2.9.0

> CXF @deprecation for some of the examples
> -----------------------------------------
>
>                 Key: CAMEL-3929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>    Affects Versions: 2.7.1
>            Reporter: Claus Ibsen
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> 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: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-3929) CXF @deprecation for some of the examples

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CAMEL-3929:
----------------------------------

    Assignee: Daniel Kulp

> CXF @deprecation for some of the examples
> -----------------------------------------
>
>                 Key: CAMEL-3929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3929
>             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: http://www.atlassian.com/software/jira