Issue Type: Feature Request Feature Request
Affects Versions: 1.0
Assignee: Unassigned
Components: component-camel, configuration
Created: 07/Feb/14 4:33 AM
Description:
  • The "ManagementLoadTask" thread has one-to-one correspondence
    with the SwitchYard jar file whenever a jar is deployed to Red Hat JBoss Fuse Service Works 6.0.0 . So a "ManagementLoadTask" tread is operating all the time (after a SwitchYard jar is deployed) until the server is stopped. "ManagementLoadTask" tread runs every 1 second and calculate the load task by default [1] and hence to some users it might be a matter of concern as the thread might be leading to performance degradation.
  • In case of Camel, it gives a way to stop
    the ManagementLoadTask thread by switching off the "statisticsLevel" parameter. Currently, SwitchYard doesn't provide support for configuring "CamelContext" as shown in Camel documentation [2] below which gives an option to set "statisticsLevel" off.
    ~~~
    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
    <jmxAgent id="agent" statisticsLevel="RoutesOnly"/>
    ...
    </camelContext>
    ~~~
  • Can you guys kindly enable support for setting "statisticsLevel" Off to stop the "ManagementLoadTask" thread, though enabling "CamelContext" configuration?

[1] https://issues.apache.org/jira/browse/CAMEL-5446
[2] http://camel.apache.org/camel-jmx.html#CamelJMX-Configuringlevelofgranularityforperformancestatistics

Environment: - Red Hat JBoss Fuse Service Works 6.0.0
Project: SwitchYard
Labels: switchyard camel
Priority: Major Major
Reporter: Musharraf Hussain
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira