camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Aggregation : All Messages Lost from the Queue.
Date Tue, 05 Oct 2010 03:27:20 GMT
On Tue, Oct 5, 2010 at 1:16 AM, bxkrish <balainfy04@gmail.com> wrote:
>
> Thanks for the reply Claus. Camel 2.0 is part of our product version and we
> will not be able to change it without releasing a different version of our
> product. I am sure 2.4 is a more stable version but Aggregation should be
> working with Camel 2.0.
> I debugged and found that the "oldExchange" is null "always" and not only
> for the first time. After handling the NullPointerException the messages
> reach the Q2 individually. However I want them to be concatenated as 1
> message. Can you please tell me what am I doing wrong?

See the wiki page
http://camel.apache.org/aggregator

You may need to set a higher batchTimeout than the default of 1 sec.
This allows Camel more time to aggregate more messages.


> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggregation-All-Messages-Lost-from-the-Queue-tp3138936p3198589.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

Mime
View raw message