English 中文(简体)
Extending ManagedPerformanceCounter
原标题:

I have been 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





相关问题
Creating JMS Queues at runtime [closed]

I am working on an application where the app user can create / delete queues . Also , he would be able to move a message from 1 queue to another, delete a message , rearrange the messages in the ...

Extending ManagedPerformanceCounter

I have been 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 ...

Apache Camel with ActiveMQ clustering

I m trying to determine my options for clustering my ServiceMix 3.3.1/Camel 2.1/AMQ 5.3 application. I m performing high volume message processing and I need to cluster for high availability and ...

Using Camel 2.1 with Grails 1.2.1 - Classloading problem

I m trying to define a Camel context in my Grails application. resource.groovy: xmlns camel: http://camel.apache.org/schema/spring camel { camelContext(id: camelContext ) { } } Results ...

Apache camel without maven

I have a hard time finding documentation/tutorials or just getting a dependency overview without going into some spiralling maven-nightmare. I even have trouble getting the examples to work, as its ...

CamelContext.start() doesn t block

I want to run a simple Apache Camel example that copies files from one directory to another: CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { public void ...

热门标签