If you are using Camel aggregator EIP you can add a completion predicate that triggers true when you have aggregated > 100mb
On Wed, Oct 25, 2017 at 9:39 PM, Filipe Sguarizi Panceri <[email protected]> wrote: > Hi everyone, > i have a route responsible for receive a lot of messages from kafka, i > will agregate usind a custom field and i will write on a txt file. But my > txt file can't exced a specific file size (100 mb). If exced i will create > another file. > > Its possible to control the file size?? > > Filipe Sguarizi Panceri > https://medium.com/@fpanceri -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
