Hello Eric!

What's about something like this:

from("cxf://bean:wsService")
  .convertBodyTo(SomeOther.class)
  .to("activemq://queue:foo")

The default dataFormat for the CXF component is POJO. So you will receive a
java bean.
Implement your own type converter [1] to convert the web service request
object into another bean. An alternative is to use a processor [2] or the
bean component [3].
And than use an appropriate Camel component to connect to your next
service...

You can find some useful examples here [4].

[1] http://camel.apache.org/type-converter.html
[2] http://camel.apache.org/processor.html
[3] http://camel.apache.org/bean.html
[4] http://camel.apache.org/examples.html

Best,
Christian

Reply via email to