camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel File: Produce files based on size
Date Tue, 28 Feb 2017 12:23:08 GMT
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 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message