Hi Claus, Thanks for your answer.
Claus Ibsen-2 wrote: > > Hi > > Do you "loose" message every time you run the unit test? > > Have you tried with a higher batch timeout? > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > Yes. The "message lost" happens every time I run the code. I think the problem is not related to batchTimeout. BTW increasing the batchTimeout to 100 secs has no effect. As you can see in the logs, the messages are produced very quickly and all of then are passing through the Aggregator. Looks like the exchange produced by the Aggregator is the one created when the message n-1 is aggregated. I am not sure, but I think the exchange returned by the last aggregator cycle is being ignored. This is what I think is happening: For n messages: -->Exchange(1)--Aggregator-->AggregatedExchange(1)--> -->Exchange(2),AggregatedExchange(1)-->Aggregator-->AggregatedExchange(2)--> -->Exchange(3),AggregatedExchange(2)-->Aggregator-->AggregatedExchange(3)--> ... -->Exchange(n-1),AggregatedExchange(n-2)-->Aggregator-->AggregatedExchange(n-1)-->(this one is produced by the aggregator) -->Exchange(n),AggregatedExchange(n-1)-->Aggregator-->AggregatedExchange(n)-->(this one is being lost or ignored somehow) Thank you, -- Wilson Freitas Vetta Technologies http://www.vettatech.com -- View this message in context: http://www.nabble.com/Aggregator-message-lost-tp25976380p25997564.html Sent from the Camel - Users mailing list archive at Nabble.com.