On Wed, Oct 27, 2010 at 12:41 AM, SlavaC <[email protected]> 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: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
