Throughput logger with groupInterval sample - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

This route will result in message stats logged every 10s, with an initial 60s delay and stats displayed even if there isn't any message traffic.

from("activemq:orders")
   .to("log:com.mycompany.order?level=DEBUG?groupInterval=10000&group
Delay=60000&groupActiveOnly=false")
   .to("bean:processOrder");

The following will be logged:

"Received: 1000 new messages, with total 2000 so far. Last group took: 
10000 millis which is: 100 messages per second. average: 100"