开发者

Extending ManagedPerformanceCounter

开发者 https://www.devze.com 2022-12-24 05:36 出处:网络
I have been开发者_StackOverflow社区 trying to add my own performance counter, and I\'m unable to use this performance counter for my routes.

I have been开发者_StackOverflow社区 trying to add my own performance counter, and I'm unable to use this performance counter for my routes.

Could anyone tell me how to use a custom performance counter instead of ManagedPerformanceCounter?

Thank you.


if you are looking for a JMX solution...you can register a processor and use custom APIs to retrieve stats...

http://camel.apache.org/why-is-my-processor-not-showing-up-in-jconsole.html

also, here are some notes on using JMX to retrieve route stats...

http://benoday.blogspot.com/2010/08/managing-camel-routes-with-jmx-apis.html

0

精彩评论

暂无评论...
验证码 换一张
取 消