camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davsclaus <cib_re...@yahoo.dk>
Subject Re: body content of restlet endpoint is an InputStream
Date Wed, 10 Nov 2010 07:16:22 GMT

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.

Mime
View raw message