Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.20.6, 3.21.0, 4.0-RC2
-
None
-
Unknown
Description
When route-controller is used to start routes in a safe manner and one of the routes fails it still reports the status as UP.
camel: springboot: route-controller-supervise-enabled: true route-controller-unhealthy-on-exhausted: true route-controller-back-off-max-attempts: 3
No brokers defined, route will fail after the route controller gives up.
from("kafka:hello") .routeId("kafka") .log("Hello Kafka");
While the route controller tries to restart the route, the status will be correct, DOWN.
After it gives up, it turns to an incorrect state, UP.
Example project: https://github.com/alex-nt/issues-java/tree/main/camel/camel-health
Attachments
Issue Links
- relates to
-
CAMEL-19648 camel-spring-boot - Actuator health check should handle readiness vs liveness checks
- Resolved
- links to