There is no support for this kind in camel file component.

You can do something afterwards the file is writting to split it up in
chunks. Or as you say write it using java code yourself.

On Mon, Feb 27, 2017 at 2:10 PM, ganga_camel <[email protected]> wrote:
> Hi All,
>
> I am working on a use-case where the need is to create files based on size.
> To elaborate further, the file component should switch to create a new file
> every-time, the file that is being created exceeds a particular size of say
> 2GB.
>
> So, if I am in the process of writing into a file, and the file size reaches
> 2GB, then a new file should be created with file size 2GB and so on until
> all the records are processed.
>
> From the camel documentation I could not find any clue to implement this
> logic, is it possible to implement this requirement using Camel or should we
> combine this will vanilla Java code?
>
> Please advise.
>
> Thanks,
> Ganga
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-File-Produce-files-based-on-size-tp5794522.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to