Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
I noticed there's some non-deterministic behaviour going on with the Camel health check config in camel-main. Consider the following configuration to disable the 'netty' route from the RouteHealthCheck:
camel.health.config[netty].enabled = true
camel.health.config[timer].enabled = false
In BaseMainSupport there is this logic:
Depending on the order in which the config properties are processed, RoutesHealthCheckRepository will either be enabled or disabled.
I think the code on line 989 in BaseMainSupport support is not required. I think it's enough to just add the configuration like here:
Attachments
Issue Links
- relates to
-
CAMEL-16396 Configuring an interval and failure threshold for a health check does not work in all cases
- Resolved
- links to