camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: Instrumenting routes and processors
Date Mon, 18 Feb 2013 09:36:40 GMT
You need to do nothing special, as the out-of-the-box configuration already
collects performance stats for all processors and routes, and exposes the
stats via JMX. Use any standard JMX client to connect to the Camel
instrumentation. More info here: [1].

One tip: make sure you assign explicit IDs to the processors and routes you
wish to monitor. Otherwise, they will show up as "route1", "to5", etc. and
you won't know what they correspond to.

The level of granularity of stats can be configured as indicated towards
the end of [1]. By default we are verbose.

[1] http://camel.apache.org/camel-jmx.html

Regards,

*Raúl Kripalani*
Apache Camel Committer
Enterprise Architect, Program Manager, Open Source Integration specialist
http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk <http://twitter.com/raulvk>

On Mon, Feb 18, 2013 at 9:18 AM, Rakesh Sharma
<rakesh_sharma66@hotmail.com>wrote:

> I would like to collect the time taken by an exchange in a route and all
> processes in the pipeline of that route. Can it be done in a generic way by
> configuring container wide interceptor?
>
> Thanks,
> Rakesh
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Instrumenting-routes-and-processors-tp5727719.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message