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: