You can not get a ZipFile from InputStream. We can only ZipInputStream. When processing files within the zip file, you can not close the stream reader. This is an InputStream for the entire zip file.
Enclose an example of processing of xml file inside the zip file. In the example of a very large zip file. http://camel.465427.n5.nabble.com/file/n5714149/camel-spliter-stax.tar.gz camel-spliter-stax.tar.gz Aleksey -- View this message in context: http://camel.465427.n5.nabble.com/zip-file-best-practices-tp5713437p5714149.html Sent from the Camel - Users mailing list archive at Nabble.com.