Open JiriOndrusek opened 1 year ago
The docs state that the default is true
:
Default is true for CSB, unfurtunately for plain Camel default is false
. Because users have to set routePolicy, like in the test. (Explanation in the doc is From Java you just add the factory to the CamelContext as shown below: context.addRoutePolicyFactory(new MicrometerRoutePolicyFactory());
Therefore CQ should default to false and ticket should be reported for CSB also.
@JiriOndrusek it can be closed? or is there anything about document we need to do?
@zhfeng thanks for noticing the issue!
TBH I still think that my previous comment is right. Let me explain:
context.addRoutePolicyFactory(new MicrometerRoutePolicyFactory());
.I'll prepare a PR which changes this behavior as I suggested above. Therefore we should keep this issue opened.
Bug description
As you can see in Camel documentation, RoutePolicyFactory is not enabled by default. CQ should be consistent with this behavior and change default value for property
camel.metrics.enableRoutePolicy
tofalse
(code)