Package org.apache.camel.health
Interface HealthCheckResolver
-
- All Superinterfaces:
CamelContextAware
public interface HealthCheckResolver extends CamelContextAware
A pluggable strategy for resolving health checks in a loosely coupled manner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthCheck
resolveHealthCheck(String id)
Resolves the givenHealthCheck
.HealthCheckRepository
resolveHealthCheckRepository(String id)
Resolves the givenHealthCheckRepository
.-
Methods inherited from interface org.apache.camel.CamelContextAware
getCamelContext, setCamelContext
-
-
-
-
Method Detail
-
resolveHealthCheck
HealthCheck resolveHealthCheck(String id)
Resolves the givenHealthCheck
.- Parameters:
id
- the id of theHealthCheck
- Returns:
- the resolved
HealthCheck
, or null if not found
-
resolveHealthCheckRepository
HealthCheckRepository resolveHealthCheckRepository(String id)
Resolves the givenHealthCheckRepository
.- Parameters:
id
- the id of theHealthCheckRepository
- Returns:
- the resolved
HealthCheckRepository
, or null if not found
-
-