Re: Splitter and Aggregator Query

2013-02-11 Thread Claus Ibsen
On Tue, Feb 12, 2013 at 4:46 AM, boday wrote: > the splitter sets the CamelSplitSize header that you should be able to use as > your aggregator completion predicate... > > something like this... > > from("direct:start") >.split(body()) >.aggregate(constant(true), new > BodyInAggregatingStr

Re: Splitter and Aggregator Query

2013-02-11 Thread boday
the splitter sets the CamelSplitSize header that you should be able to use as your aggregator completion predicate... something like this... from("direct:start") .split(body()) .aggregate(constant(true), new BodyInAggregatingStrategy()).completionSize(header("CamelSplitSize")) gilboy wro