Re: aggregator: dynamic completion size

2013-05-24 Thread Claus Ibsen
Hi Yes its very clear in the docs at http://camel.apache.org/aggregator2 > Notice that all the completion ways are per correlation key. And you can > combine them in any way you like. It's basically the first which triggers > that wins. So you can use a completion size together with a completio

Re: aggregator: dynamic completion size

2013-05-24 Thread javamonkey79
I did read the documentation, many times :) It was not camel that was wrong - it was my unit test. >From what I can tell, if you set BOTH a completionSize and a completionTimeout it will use both: e.g. if you set it to completionSize="500" completionTimeout="500" for example, it will stop when

Re: aggregator: dynamic completion size

2013-05-23 Thread Claus Ibsen
Hi Yeah read the docs http://camel.apache.org/aggregator2 You can use dynamic completion size / timeout etc. to trigger when you have < 500 messages. On Fri, May 24, 2013 at 3:39 AM, javamonkey79 wrote: > It seems that the completionSize attribute of the aggregator will "make up > the differenc