Oliver, Ok... Is it possible for you to share your route? If you are splitting by message format, so that each message format goes to a different processor, then your aggregation will attempt to aggregate the messages of each different message format together. If, on the other hand, you are collecting messages by message format, then splitting the messages of a particular message format, then you can aggregate multiple messages from a single format. It sounds to me like you want the second option, so let's verify that's what you are doing. You won't have to specify the number of messages to aggregate, because Camel already knows this since it knows how many messages it is splitting. But if you can provide your route, it will help us to figure this out.
Steve On Wed, Jan 4, 2017 at 8:07 AM, okieven <oliver.kie...@nttdata.com> wrote: > Hi Steve, > > thanks for your answer. > I could count the number of Messages for each ID, but in respect of > performance it´s not the best solution for me. > > -- > Oliver > > > > -- > View this message in context: http://camel.465427.n5.nabble. > com/Camel-Aggregator-issue-tp5792131p5792143.html > Sent from the Camel - Users mailing list archive at Nabble.com. >