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: UseOriginalAggregationStrategy in Camel 2.4
Date Wed, 27 Oct 2010 05:22:59 GMT
On Wed, Oct 27, 2010 at 12:41 AM, SlavaC <veaceslavc@edifecs.com> wrote:
>
>
> davsclaus wrote:
>>
>> The original Exchange would be the oldExchange parameter on the very first
>> invocation of the AggregationStrategy.
>>
>> So what you can do use to use a AggregationStrategy without extending the
>> UseOriginal, and just always return the oldExchange. And you can then just
>> add the headers from the newExchange to the oldExchange.
>>
>
> davsclaus, thanks for the replay but seems that this doesn't work. I have a
> null oldExchange on the very first invocation.
> Seems that calling the aggregate() method with null OldExchange for the
> first exchange was introduced in Camel 2.0 and there is no mention of
> changing this in the documentation: http://camel.apache.org/aggregator.html
> --

You should *always* read the release notes
http://camel.apache.org/camel-200-release.html


> View this message in context: http://camel.465427.n5.nabble.com/UseOriginalAggregationStrategy-in-Camel-2-4-tp3198775p3237913.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message