Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1961

Enable CamelContext configuration in SwitchYard to support tuning of statisticsLevel parameter

    Details

      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" thread 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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kcbabo Keith Babo
                  Reporter:
                  mhussain Musharraf Hussain
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: