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 <[email protected]> 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.
