camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kikou1984 <>
Subject Is There a way to treat a large file?
Date Wed, 18 Nov 2015 14:00:06 GMT
I m using apache Camel to treat files.

However, i m asking if i can split a file depending on the number of byte.

For exemple , if i have a file with a size like 1 GO, is that possible to
read it by block of 10 MO. (with a parameter that defines the size of a

Is there a component Camel EIP able to do this ?

I have tried with stream-caching but nothing happened.

    <camelContext xmlns=""

        <property key="CamelCachedOutputStreamBufferSize" value="1024"/>

    <route id="READ-FILE-STREAM-CACHE" streamCache="true">
        <from uri="file:src/data?noop=true"/>
        <bean ref="readBean" method="readFileStream"/>
        <to uri="file:src/out"/>


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

View raw message