I'm using camel to route from SOAP web service to Rest Service. My route is like following.
SOAP Service --> Processor A --> Rest --> Processor B .
I'm using Exchange pattern and Rest is hosted in Jboss Server. My problem is how to get Rest Response ( json string ). When i get in message in Processor B it contains the output message or processor A.
<camelContext xmlns="http://camel.apache.org/schema/spring" trace="true">
<route>
<from uri="cxf:bean:serviceA"/>
<process ref="processorA" />
<to uri="cxfrs:bean:serviceRest"/>
<process ref="processorB"/>
</route>
</camelContxt>
I'm new to camel. any help would be appreciated.