camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexey-s <>
Subject Re: zip file best practices
Date Fri, 24 Jan 2014 21:00:52 GMT
I never used to separate files in zip archive.
I use a component splitter to read nested XML files. 

Example use in spring DSL:

Copy/paste and add comments

<bean id="zipSplitter"
class="org.apache.camel.dataformat.zipfile.ZipSplitter" />
<split streaming="true" parallelProcessing="true">
    &lt;!-- Message body is ZipInputStreamWrapper.class extends
BufferedInputStream --&gt;
    &lt;!-- Header CamelFileName = include_file_name --&gt;
    &lt;!-- Header zipFileName = include_file_name --&gt;
    <convertBodyTo type="java.lang.String" />
    <to uri="file:foo" />


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

View raw message