Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.14.0
-
None
-
Unknown
Description
I belive there are some bugs in CamelHealthCheckAutoConfiguration that prevents disabling health check on single route or consumer.
For example, configuration like this:
camel.health.config[consumer\:cron-delete-expired-tokens].parent=consumers
camel.health.config[consumer\:cron-delete-expired-tokens].enabled=false
causes disabling all consumers health checks.
Configuration like this:
camel.health.config[consumer\:cron-delete-expired-tokens].parent=routes
camel.health.config[consumer\:cron-delete-expired-tokens].enabled=false
disables all routes health checks.
Not setting parent causes NullPointerException in HealthCheckRegistry::resolveById().
Attachments
Issue Links
- is related to
-
CAMEL-17427 Option to restore old behaviour of scheduled consumers healthcheck
- Resolved
- links to