You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by davsclaus <ci...@yahoo.dk> on 2010/11/10 08:16:22 UTC

Re: body content of restlet endpoint is an InputStream

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.