This content has been marked as final.
Show 1 reply
-
1. Re: How to get the SOAP Request from an camel exchange
bharadwaj Mar 12, 2015 11:16 PM (in response to niteshjain132)Before going to down cast to ur POJO do JAXB unmarshalling in camel and then ref java processor to down cast
<camel:unmarshal>
<camel:jaxb contextPath="com.test" partClass="com.test.MyPOJO" />
</camel:unmarshal>
<process ref="myProcess"/>
MyPOJO pojo=exchange.getIn().getBody(MyPOJO.class);