camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf <>
Subject Re: count of processed messages when using aggregation
Date Thu, 14 Nov 2013 14:36:31 GMT
There is also onComplete() but it is triggered right after aggregator
processed last message, not after the route has completed the last message.
Isn't it a bug?

Anyway it wouldn't have the counter in question, I'd only know route has

    public void configure() throws Exception { 
                    .process(new EndProcessor())//
                .bean("myProcessor", "doWork") 
                .aggregate(constant("id"), new
                .log("Sent ${header.RecordsCounter} records to remote"); 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message