Hi

Just ensure the BODY on the Message is an InputStream which can read
from gzip files.
Then that streaming mode in Splitter should use it as is.



On Fri, Apr 16, 2010 at 1:24 PM, lefdev <[email protected]> wrote:
>
> how can i make the following route to work with gzipped files without loosing
> the streaming advantages??
>
> from("file://inbox/").split(body().tokenize()).streaming().log("${body}").end().log("Finished")
>
> --
> View this message in context: 
> http://old.nabble.com/unmarshal-gzip-and--streaming-tp28265741p28265741.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to