Re: Aggregator's old Exchange returns null

2010-01-22 Thread lekkie
Thanks. lekkie wrote: > > I have a custom aggregator set up. The custom aggregator combines the > exchanges of an old and new one and returns them as one. > > However, when I log the old exchange to the ESB log file, it returns null. > > See my snippet below > > . > > > >

Re: Aggregator's old Exchange returns null

2010-01-20 Thread Willem Jiang
Hi, You can find more explanation in the wiki [1] of AggregationStrategy changed in Camel 2.0 http://camel.apache.org/aggregator.html Willem Claus Ibsen wrote: Hi The oldExchange is null on the first invocation of the aggregation strategy. On Wed, Jan 20, 2010 at 8:35 PM, lekkie wrote:

Re: Aggregator's old Exchange returns null

2010-01-20 Thread lekkie
Thanks for your quick reply. This is a lil bit confusing for me. Just to clarify if this is what you meant. >From my snippet above, my first invocation on aggrgation strategy will be the wiretap () which I expect myaggregation should capture the accompanying (exhange). What you are saying is tha

Re: Aggregator's old Exchange returns null

2010-01-20 Thread Claus Ibsen
Hi The oldExchange is null on the first invocation of the aggregation strategy. On Wed, Jan 20, 2010 at 8:35 PM, lekkie wrote: > > I have a custom aggregator set up. The custom aggregator combines the > exchanges of an old and new one and returns them as one. > > However, when I log the old exc

Aggregator's old Exchange returns null

2010-01-20 Thread lekkie
I have a custom aggregator set up. The custom aggregator combines the exchanges of an old and new one and returns them as one. However, when I log the old exchange to the ESB log file, it returns null. See my snippet below . htt