Re: Patch - Aggregator EIP

2011-02-02 Thread Claus Ibsen
 return oldExchange; >    } > } > -- > View this message in context: > http://camel.465427.n5.nabble.com/Patch-Aggregator-EIP-tp3364947p3364947.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - FuseSource Email: cib.

Re: Patch - Aggregator EIP

2011-01-31 Thread Willem Jiang
Yeah, the code is a bit old. Which version of Camel are you using? I'm assuming that you are using Camel 2.x. There are some changes on the camel aggregate since Camel 2.0. Can you check out the new version of document ? Willem On 2/1/11 1:59 AM, Hossein wrote: Hi, Wanted to submit a patch on

Patch - Aggregator EIP

2011-01-31 Thread Hossein
(String.class); String concatBody = oldBody.concat(newBody); // Now put into old, the new string oldExchange.getIn().setBody(concatBody); return oldExchange; } } -- View this message in context: http://camel.465427.n5.nabble.com/Patch-Aggregator-EIP-tp3364947p3364947