Hi guys,

> Puff, sorry. The Jira is https://issues.apache.org/jira/browse/CAMEL-6139

Actually we already got ZipFile component [1], however it supports
only single-entry zip files at the moment.

Instead of creating separated module with zip file splitter I suggest
to add multi-entry zip files support to the
ZipFileDataFormat#unmarshal method, which could just return the
iterator. We would be able to split zip file as follows then...

from("direct:multi-entry-zip-file").unmarshal().zip().split().to("direct:single-zip-entry");

Are there any particular reasons against reusing and improving
existing ZipFile data format?

Best regards.

[1] http://camel.apache.org/zip-dataformat.html

--
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to