camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4366) Expose Exchange Load statistics in Route and Context MBeans
Date Tue, 20 Sep 2011 12:07:09 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108621#comment-13108621
] 

Claus Ibsen commented on CAMEL-4366:
------------------------------------

I attached a screenshot with the patch being incorporated.

I will add a option on Camel JMX so you can enable|disable this. As it uses a background thread
to update the load. And maybe some ppl do not need this details.

I am also not using a static instance as that dont work well in hot deploy server environments.
So instead each CamelContext has its own background task. And the thread pool / thread task
is handled by the Camel ExecutorService API for that. So that is aligned like the rest of
the code.

> Expose Exchange Load statistics in Route and Context MBeans
> -----------------------------------------------------------
>
>                 Key: CAMEL-4366
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4366
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, jmx
>            Reporter: christian ohr
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: Load.png, load-patch-1
>
>
> Add load statistics exposing a exponentially moving weighted average for the number of
inflight exchanges in routes and the whole CamelContext. Initially the window is fixed to
1m, 5m and 15m, just like Linux load figures.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message