To transform your original body/payload to the web service request object,
we use a custom Camel type converter (google it) and use it in our route
like "convertBodyTo(Request.class)".

You can also use a Camel Processor our simply the Bean component to do it.

Best,
Christian

Sent from a mobile device
Am 10.10.2011 23:26 schrieb "Marcelo Jabali" <[email protected]>:

> Hi Felipe,
>
> The Apache Camel CXF component page [1] has some very good information
> about that.
>
> [1] - http://camel.apache.org/cxf.html
>
> Hope this helps,
>
> -Marcelo
>
> On Oct 10, 2011, at 1:57 PM, Felipe Fraga wrote:
>
> > Greetings,
> >
> > I'm in the middle of a design problem that seems very simple, but I am
> > having trouble reaching a conclusion and I was hoping you could help me.
> >
> > I have a simple requirement, after I process a message with camel routes
> > (specifically a split) I have to take this information (that is very
> > different from the original) and send it to an external webservice.
> What's
> > the best approach to do so? I mean, how do I create the objects to be
> sent
> > to the external webservice before I can forward them to the CXF endpoint.
> >
> > Thanks to all,
> >
> > Felipe Fraga
>
>
>

Reply via email to