Re: Splitter and Aggregator

2017-02-07 Thread Demon Hunter
sorry I'm reading splitter and aggregator EIP. I don't see the examples which are using together with splitter and aggregator. However, I see there's one EIP call composed process which helps using splitter to be using together with aggregation by adding aggregation strategy as option on split tag.

Re: Splitter and Aggregator

2017-02-07 Thread Claus Ibsen
Ask the computer, build a Camel route and give it a try On Tue, Feb 7, 2017 at 11:20 AM, Demon Hunter wrote: > Can we use together with Splitter & Aggregator as below > > > > > > If no, can I know why. > > Thanks > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.co

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