Not sure, but I think you should try something like this :

(InputStream) is = exchange.getIn().getBody();

Read the byte array into a string and then convert jsonstring to your
object.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-for-Rest-Service-tp5723267p5723311.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to