[ https://issues.apache.org/jira/browse/CAMEL-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977244#action_12977244 ]
Claus Ibsen commented on CAMEL-1902: ------------------------------------ The timer should be scheduled in the {{doStart}} method. And likewise it should be unscheduled / shutdown in the {{doStop}} method. See lifecycle http://camel.apache.org/lifecycle.html The getter/setter should preferred to be simple set/get value with input validation if applicable. > ThroughputLogger - Add ability to be timer based > ------------------------------------------------ > > Key: CAMEL-1902 > URL: https://issues.apache.org/jira/browse/CAMEL-1902 > Project: Camel > Issue Type: New Feature > Components: camel-core > Affects Versions: 2.0-M3 > Reporter: Claus Ibsen > Priority: Minor > Fix For: 2.7.0 > > Attachments: camel-core-throughputLogger-groupFrequency.txt > > > The ThroughputLogger is based on a size so it reports when X messages has > passed it. > What is needed is to be able to say it should report every X period instead. > And add option to not report before first message have arrived. > And add option to not report if the value was 0 for the 2nd time in case of a > long inactivity period -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.