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
-- 
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.

Reply via email to