Hey there,

I'm experimenting and creating my own component to use Apache Tika.
Now I was wondering if it's possible to retrieve a stream for a Exchange
Body?

I'm trying like this right now but doesn't seem to do the job:

InputStream is = exchange.getIn().getBody(java.io.InputStream.class);

I'm using Camel's DefaultComponent and DefaultProducer. Maybe I should be
using the StreamProducer?
Can anybody get me on the right direction?

Thanks ,

Niels




--
View this message in context: 
http://camel.465427.n5.nabble.com/Is-it-possible-to-retrieve-a-stream-for-a-Exchange-Body-tp5740229.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to