There is also the event notifier
http://camel.apache.org/eventnotifier-to-log-details-about-all-sent-exchanges.html


On Mon, Feb 18, 2013 at 1:48 PM, Stéphane Deraco <steph...@deraco.fr> wrote:
> You can also use Interceptors in Camel (see [1]), including the Tracer
> interceptor ([2]). Using Tracer and JMX notifications you can see the flow
> in live in JConsole for example.
>
>
> [1] http://camel.apache.org/intercept.html
> [2] http://camel.apache.org/tracer.html
>
> Regards,
> Stéphane
>
>
> 2013/2/18 Raul Kripalani <r...@evosent.com>
>
>> 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_sharm...@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.
>> >
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to