You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kalber <Ka...@swslt.com> on 2013/10/14 09:26:09 UTC
Using POJOs as AggregationStrategy, previous and next not correct
I use a POJO for aggregation with a file that has this 4 records :
2013-10-09
2013-10-10
2013-10-11
2013-10-12
Debugging the code i receive thiw 3 iterations :
1st pRecod=2013-10-09 and nRecord=2013-10-10
2th pRecod=2013-10-09 and nRecord=2013-10-11
3th pRecod=2013-10-09 and nRecord= 2013-10-12
no 4th
Is this correct ?
Really i expected my 4 iterations with previous and next in order.
-----
kh
--
View this message in context: http://camel.465427.n5.nabble.com/Using-POJOs-as-AggregationStrategy-previous-and-next-not-correct-tp5741497.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Using POJOs as AggregationStrategy, previous and next not correct
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Read the docs at section _Aggregating when no data_
http://camel.apache.org/aggregator2
On Mon, Oct 14, 2013 at 9:26 AM, kalber <Ka...@swslt.com> wrote:
> I use a POJO for aggregation with a file that has this 4 records :
> 2013-10-09
> 2013-10-10
> 2013-10-11
> 2013-10-12
>
> Debugging the code i receive thiw 3 iterations :
> 1st pRecod=2013-10-09 and nRecord=2013-10-10
> 2th pRecod=2013-10-09 and nRecord=2013-10-11
> 3th pRecod=2013-10-09 and nRecord= 2013-10-12
> no 4th
>
> Is this correct ?
> Really i expected my 4 iterations with previous and next in order.
>
>
>
>
>
>
>
> -----
> kh
> --
> View this message in context: http://camel.465427.n5.nabble.com/Using-POJOs-as-AggregationStrategy-previous-and-next-not-correct-tp5741497.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen