camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: count of processed messages when using aggregation
Date Tue, 05 Nov 2013 15:41:31 GMT
Aggregator has a CamelAggregatedSize, maybe try Simple[1] to set a header with the sum.
[1] http://camel.apache.org/simple.html

> On 05 Nov 2013, at 15:48, Olaf <omgolafguhl@gmail.com> wrote:
> 
> Hello,
> 
> thanks! CamelSplitSize is useful. I'd add then
> 
>                .to("remote")
>                .choice()
>                    .when(property("CamelSplitComplete").isEqualTo("true"))
>                        .log("splitted ${property.CamelSplitSize} records")
>                     .otherwise()
>                         .log("lfile not completed yet");
> 
> but, what if some messages fail or would be filtered and not sent to the
> remote system. How to sum them?
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/count-of-processed-messages-when-using-aggregation-tp5742649p5742655.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message