Package org.apache.camel.health
Interface HealthCheckResultStrategy
-
public interface HealthCheckResultStrategy
A strategy that allows SPI to processHealthCheck
results and enrich and manipulate the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processResult(HealthCheck check, Map<String,Object> options, HealthCheckResultBuilder builder)
Processes and allows manipulation of the result from theHealthCheck
invocation.
-
-
-
Method Detail
-
processResult
void processResult(HealthCheck check, Map<String,Object> options, HealthCheckResultBuilder builder)
Processes and allows manipulation of the result from theHealthCheck
invocation.- Parameters:
check
- the invoked health checkoptions
- optional options when invoked the health checkbuilder
- the result builder that builds the health check response, which can be enriched and manipulated by this strategy.
-
-