Camel has type conversion, so just pass in the type you want to the body as

Document doc = exchange.getIn().getBody(Document.class);
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/body-content-of-restlet-endpoint-is-an-InputStream-tp3258075p3258224.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to