You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Dennis Holunder <de...@gmail.com> on 2018/02/06 13:33:21 UTC

How to reset throughput logger

Hello,

Is there a way to reset throughput logger? I have a cron job and for
each run it should reset the throughput statistics

- D

Re: How to reset throughput logger

Posted by Dennis Holunder <de...@gmail.com>.
Thanks Claus! Great book, btw!

2018-02-06 14:48 GMT+01:00 Claus Ibsen-2 [via Camel]
<ml...@n5.nabble.com>:
> You can try via JMX, it should have a reset operation -
> resetThroughputLogger
>
> You can get hold of that via Java API as well.
> Camel in Action 2nd book talks about this in chapter 16, section 16.5.2.
>
>
> On Tue, Feb 6, 2018 at 2:33 PM, Dennis Holunder <[hidden email]> wrote:
>> Hello,
>>
>> Is there a way to reset throughput logger? I have a cron job and for
>> each run it should reset the throughput statistics
>>
>> - D
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/How-to-reset-throughput-logger-tp5817337p5817338.html
> To unsubscribe from Camel, click here.
> NAML

Re: How to reset throughput logger

Posted by Claus Ibsen <cl...@gmail.com>.
You can try via JMX, it should have a reset operation - resetThroughputLogger

You can get hold of that via Java API as well.
Camel in Action 2nd book talks about this in chapter 16, section 16.5.2.


On Tue, Feb 6, 2018 at 2:33 PM, Dennis Holunder <de...@gmail.com> wrote:
> Hello,
>
> Is there a way to reset throughput logger? I have a cron job and for
> each run it should reset the throughput statistics
>
> - D



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2