Hello,

I need to process a .tar.gz file in a route and, after some googling, I came
at something like the following:

...
    from("direct:unzip").unmarshal().gzip()
    .split(new TarSplitter()).process("debug")
...

I didn't find much documentation concerning TarSplitter and I'm wondering
whether it is a fully supported component. Also, in the "debug" processor, I
display inMessage.getBody().getClass().getName() which displays:

org.apache.camel.dataformat.tarfile.TarElementInputStreamWrapper

So, my question is how can I get either the file or its content out of this
?

Many thanks in advance.

Nicolas



--
View this message in context: 
http://camel.465427.n5.nabble.com/Trying-to-use-the-TarSplitter-tp5783658.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to