Hello. Is it possible for you to know the number of messages for each MFO ID at any time before aggregation begins? If you can determine the number of messages, put the number in a header and use that header value as the parameter for .completionSize(). See "completionSize" in the "Aggregator Options" section at http://people.apache.org/~dkulp/camel/aggregator2.html for more details.
Steve On Wed, Jan 4, 2017 at 7:50 AM, okieven <oliver.kie...@nttdata.com> wrote: > Hi Jakub, > > thanks for your answer. > > It´s possible to put the MFO ID into a header, but what could be a possible > completion condition in your example? > The list is always ordered by MFO ID, but the number of Messages for each > MFO ID is always different. > > > -- > Oliver > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Camel-Aggregator-issue-tp5792131p5792141.html > Sent from the Camel - Users mailing list archive at Nabble.com. >