I'd just implement a custom CompletionAwareAggregationStrategy that appends
each message to a file.


On 17 July 2014 08:53, Claus Ibsen <[email protected]> wrote:

> Hi
>
> This has been debated in the past, and I think there is a couple of
> blog posts also about this.
>
> Try check out the articles page to find those blogs
> http://camel.apache.org/articles
>
> And maybe search this forum to find those past talks.
>
>
> On Thu, Jul 17, 2014 at 9:30 AM, buffon <[email protected]> wrote:
> > Hello,
> >
> > what is the best way to aggregate a huge number of messages and write
> them
> > out to a file. I'd like to develop a route, which aggregates about
> 500000,
> > but probably more small messages. All of them have to be written to a
> single
> > file.
> >
> > Is there a way just to append messages to a file, without keeping it in
> > memory?
> >
> >
> > Regards
> > buffon
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/How-to-handle-huge-aggregations-tp5753950.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: [email protected]
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/
>



-- 
Matt Sicker <[email protected]>

Reply via email to