camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Created) (JIRA)" <>
Subject [jira] [Created] (CAMEL-4946) Management - Get performance statistics as XML per CamelContext or per Route
Date Thu, 26 Jan 2012 14:34:40 GMT
Management - Get performance statistics as XML per CamelContext or per Route

                 Key: CAMEL-4946
             Project: Camel
          Issue Type: Improvement
          Components: camel-core, jmx
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.10.0

Currently its harder for tooling such as JConsole, Camel Karaf Shell or others to gather performance
statistics of a CamelContext and its routes, as you will have to use the JMX API and loop
each route, and gather processors, and associate the processors with the route etc. And then
use the fine grained attributes on the ManagedProcessorMBean to get the performance statistics.

This is a bit cumbersome, and also very chatty API calls, especially if the JMX is remoting,
and it makes it slower to gather stats.

As we got XML outputs for bulk of data such as routes etc, we should have a single API call
to get the full stats for the entire CamelContext, or per route basis. Using XML as return
type, makes it much easier for any kind of tooling and language to use the data. Instead of
tying to use the JMX OpenMBean structure which is Java only based.

For Camel 3.0 we should offer a JSON output with a REST based management API as well. But
that would require a possible new camel-core-management component which as a JSON library
in use such as Jackson.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message