-
Type:
Feature Request
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 1.0
-
Fix Version/s: 2.0
-
Component/s: component-camel, configuration
-
Labels:
-
Environment:
Red Hat JBoss Fuse Service Works 6.0.0
-
Affects:Compatibility/Configuration
-
Estimated Difficulty:Medium
-
Git Pull Request:
-
Bugzilla Update:Perform
- 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
- is blocked by
-
SWITCHYARD-1962 Upgrade the Camel component shipped with SwithYard to enable the CamelContext configuration as required in SWITCHYARD-1961
-
- Closed
-