The Aggregator have been overhauled in Camel 2.3 onwards and its better. http://camel.apache.org/aggregator2
So if possible upgrade to Camel 2.4. On Tue, Sep 7, 2010 at 9:30 AM, Olivier.Roger <[email protected]> wrote: > > Hello, > > I still have some issues with the aggregator component. > According to my tests the completionPredicate is evaluated only once the > first message is received. > > After that the method is not executed anymore. > Is there anything that could provoke this behaviour ? > > I put here under the trace of my test > > running aggregate method > old Exchange: null > new Exchange: Exchange[Message: <ns:message xml ... > running isCompleted method > old Exchange: Exchange[Message: generic message ... > new Exchange: Exchange[Message: <ns:message xml ... > running aggregate method > old Exchange: Exchange[Message: generic message ... > new Exchange: Exchange[Message: <ns:message xml ... > running aggregate method > old Exchange: Exchange[Message: generic message ... > new Exchange: Exchange[Message: <ns:message xml ... > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Aggregator-completionPredicate-evaluated-only-once-tp2805740p2805740.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
