[jira] Created: (CAMEL-1256) Clean up camel-cxf

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
Clean up camel-cxf
------------------

                 Key: CAMEL-1256
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-cxf
    Affects Versions: 1.5.0
            Reporter: William Tam
            Assignee: William Tam
             Fix For: 2.0.0


The camel-cxf is due for some code cleanup and refactoring.  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Work started: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org

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

Work on CAMEL-1256 started by William Tam.

> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf is due for some code cleanup and refactoring.  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

William Tam updated CAMEL-1256:
-------------------------------

    Description: The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.  (was: The camel-cxf is due for some code cleanup and refactoring.  )

> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48784#action_48784 ]

William Tam commented on CAMEL-1256:
------------------------------------

A fix has been submitted.  Here is some highlights.

* The fix is for 2.0 only since it involves some APIs changes that is an overkill to keep it backward compatible.  Will update wiki.
* It depends on CXF 2.2-SNAPSHOT  now.   Will upgrade CXF once the next release of CXF is available.
* CxfBinding, Bus [CAMEL-1239], HeaderFilterStrategy can be looked up from registry by the "#" notation.
* Decouple CXF Message from Camel Message.  That is, users are no longer required to cast Camel's message body to CXF Message in order to access SOAP headers and body in PAYLOAD.  In PAYLOAD mode, Camel message body now returns a new type CxfPayload which contains SOAP headers and body.  With CxfPayload being the body in PAYLOAD mode, It makes using Camel converter to convert to other types pretty easy and transparent.
* Cleaning up the old CxfBinding and "invoking context".   Both tried to do Camel/CXF message binding.  CxfBinding is now an interface that an custom impl can be set on each endpoint.  HeaderFilterStrategy impl can also be set on each endpoint.
* [CAMEL-1254] support serviceClass=#bean
* some major refactoring to make code cleaner.



> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48793#action_48793 ]

Claus Ibsen commented on CAMEL-1256:
------------------------------------

Nice. I am looking forward to the PAYLOAD. My last gripe with camel-cxf is really that a manual convertBodyTo is needed.

BTW I get this maven issue now

[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.cxf -DartifactId=cxf-codegen-plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.apache.cxf -DartifactId=cxf-codegen-plugin -Dversion=2.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.cxf:cxf-codegen-plugin:maven-plugin:2.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.apache.cxf:cxf-codegen-plugin:maven-plugin:2.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48796#action_48796 ]

Willem Jiang commented on CAMEL-1256:
-------------------------------------

Ah, since we have the snapshot dependency on the CXF 2.2 , we need to add the snapshot maven repository in our pom.
I will did a quick fix it .


> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48801#action_48801 ]

Willem Jiang commented on CAMEL-1256:
-------------------------------------

@Clause

I'm deploying a new version of CXF 2.2 snapshot (there is a patch for camel-cxf), you should have a successful build on camel-cxf two hours later :)

> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-1256) Clean up camel-cxf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

William Tam resolved CAMEL-1256.
--------------------------------

    Resolution: Fixed

> Clean up camel-cxf
> ------------------
>
>                 Key: CAMEL-1256
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1256
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 1.5.0
>            Reporter: William Tam
>            Assignee: William Tam
>             Fix For: 2.0.0
>
>
> The camel-cxf component is dued for some code cleanup and refactoring.   We can clean some of of the interfaces and redundant code, etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.