try setting the body of in message with the jsonObj

exchange.getIn().setBody(jsonObj); 

and set the bean invocation to out as follows

exchange.getOut.setBody(beanInvocation)


Regards,
-Yogesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/rest-to-soap-tp5782601p5782607.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to