camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamalissimo <>
Subject Upload file - How to pass InputStream to Camel's route
Date Mon, 25 Mar 2013 13:08:32 GMT
Hi everyone,

lately, I was working on @POST Consumer which was able to upload a file(
). It was really challenging but it still has one "bug". I am not able to
directly upload file from my local drive. Firstly I have to upload file to
server where Karaf runs and after that I pass a variable with path to this
file and I don't like this approach 

I would like to pass the file as an InputStream to my route. I am aware of
stream component but I think I am using different approach to use it.

As you can notice at my  route
I am using Apache's HTTP Client to perform the @POST request and now I can
pass an InputStream to it. 

My question how can I pass InputStream to my route?


-Br, Roman

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message