Package org.apache.camel.health
Interface HealthCheckResultStrategy
public interface HealthCheckResultStrategy
A strategy that allows SPI to process
HealthCheck
results and enrich and manipulate the result.-
Method Summary
Modifier and TypeMethodDescriptionvoid
processResult
(HealthCheck check, Map<String, Object> options, HealthCheckResultBuilder builder) Processes and allows manipulation of the result from theHealthCheck
invocation.
-
Method Details
-
processResult
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.
-