Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
When testing or the need to lookup a route health check then we should make this easier. The logic today is a bit cumbersome, with a stream of checks, etc.
HealthCheckRegistry hcr = context.getExtension(HealthCheckRegistry.class);
HealthCheckRepository repo = hcr.getRepository("routes").get();
HealthCheck hc = repo.stream().findFirst().get();
Attachments
Issue Links
- relates to
-
CAMEL-15133 camel health - Discover custom health checks from classpath
- Resolved