Re: Problem with my first aggregate Route (newbie to Camel)

2010-11-29 Thread Claus Ibsen
On Mon, Nov 29, 2010 at 1:48 PM, Marco Bettiol wrote: > Claus... It's me again. Sorry. > I moved the filter logic to the AggregateStrategy > I tried some variants to insert "end()" such as: > > > from("file:/Users/marcobettiol/IES/data?noop=true") > > .split(body().tokenize("\n"), new TVCEOrderAgg

Re: Problem with my first aggregate Route (newbie to Camel)

2010-11-29 Thread Marco Bettiol
Claus... It's me again. Sorry. I moved the filter logic to the AggregateStrategy I tried some variants to insert "end()" such as: from("file:/Users/marcobettiol/IES/data?noop=true") .split(body().tokenize("\n"), new TVCEOrderAggregateStrategy()) .end() .to("file:/Users/marcobettiol/IES/copy?au

Re: Problem with my first aggregate Route (newbie to Camel)

2010-11-29 Thread Claus Ibsen
On Mon, Nov 29, 2010 at 10:26 AM, Marco Bettiol wrote: > I'm using 2.5.0. > Ok I will try with your solution and let you know. :) > P.S. > Just for knowledge... Is my code right? > No the filter should not be in the split. Camel will always invoke the AggregationStrategy for each splitted message

Re: Problem with my first aggregate Route (newbie to Camel)

2010-11-29 Thread Marco Bettiol
I'm using 2.5.0. Ok I will try with your solution and let you know. :) P.S. Just for knowledge... Is my code right? 2010/11/29 Claus Ibsen > Hi > > What version of Camel are you using? > > And you can also do your filter logic in the aggregator. Just return > oldExchange if the newExchange shoul

Re: Problem with my first aggregate Route (newbie to Camel)

2010-11-29 Thread Claus Ibsen
Hi What version of Camel are you using? And you can also do your filter logic in the aggregator. Just return oldExchange if the newExchange should be skipped. On Sun, Nov 28, 2010 at 9:39 PM, Marco Bettiol wrote: > Hi guys, > > I'm new to apache Camel. It sound really great. > > I was trying t