You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/09/06 03:05:40 UTC
[jira] Commented: (CAMEL-3105) Contribution: Spring Web Services
component
[ https://issues.apache.org/activemq/browse/CAMEL-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61689#action_61689 ]
Willem Jiang commented on CAMEL-3105:
-------------------------------------
Thanks for your contribution, we are happy to accept a new component :)
Just few comments for your current code.
1. Current camel trunk supports JDK 1.5, I saw your pom.xml was setting the target source to 1.6. Can this module be built with JDK 1.5 ?
2. I found the SpringWebserviceProducer only took the source object, do you have plan to support sending and receiving POJO ?
3. Please try to use the camel 2.4.0 or camel 2.5 snapshot when you develop this component, it will make us easy to merge it into camel trunk.
Willem
> Contribution: Spring Web Services component
> -------------------------------------------
>
> Key: CAMEL-3105
> URL: https://issues.apache.org/activemq/browse/CAMEL-3105
> Project: Apache Camel
> Issue Type: New Feature
> Affects Versions: 2.3.0
> Reporter: Richard Kettelerij
>
> I'd like to contribute a component I've developed to Apache Camel that adds support for Spring Web Services. The component is Apache 2.0 licensed - as is Spring-WS - and available from: http://github.com/rkettelerij/camel-spring-ws. Note that I'll happily remove this repo if and once the component is added to Camel's codebase.
> Currently the component only offers producer support (with help of Spring's WebServiceTemplate). I'm busy developing consumer support that allows you to express Spring-WS endpoint mappings through Camel uri's. This is coming along nicely and I'm hoping to release a tested version soon. Development can be tracked in this branch: http://github.com/rkettelerij/camel-spring-ws/tree/consumer/
> Examples (producer only):
> 1) Route message to webservice:
> {code}
> from("direct:myservice").to("springws:http://somehost/myservice")
> {code}
> 2) Configuration through url options (e.g SOAP action and WS-Addressing):
> {code}
> from("direct:myservice").to("springws:http://somehost/myservice?soapAction=http://somehost/foo&wsAddressingAction=http://somehost/bar")
> {code}
> 3) The components allows you to use the full power of Spring-WS client support by referencing a WebServiceTemplate in the Registry (ApplicationContext):
> {code}
> from("direct:myservice").to("springws:http://somehost/myservice?webServiceTemplate=#webServiceTemplate")
> {code}
> If you only want to use a custom message sender or message factory (e.g for Axiom messages) you can use:
> {code}
> from("direct:myservice").to("springws:http://somehost/myservice?messageFactory=#messageFactory&messageSender=#messageSender")
> {code}
> I'm open to any suggestions/comments/etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.