Question

I have an application consisting of number of Camel routes; I would need to profile them using JConsole. I have noticed upon bringing up the JConsole and selecting the local JVM that is running these Camel routes; various MBeans under domain name org.apache.camel is displaying information about such as End points, Processors, Routes etc. Note: I did not setup any instructions given on the link Camel JMX

I would like to know how would these instructions differ in the information display in the later case?

Was it helpful?

Solution

By default, JMX instrumentation agent is enabled in Camel which means that Camel runtime creates and registers MBean management objects with a MBeanServer instance in the VM. This allows Camel users instantly obtain insights into how Camel routes perform down to the individual processor's level.

The supported types of management objects are endpoint , route, service, and processor. Some of these management objects also expose lifecycle operations in addition to performance counter attributes.

The other link you referenced describes how to programmatically create listeners for JMX events...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top