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 TypeMethodDescriptionvoidprocessResult(HealthCheck check, Map<String, Object> options, HealthCheckResultBuilder builder) Processes and allows manipulation of the result from theHealthCheckinvocation.
-
Method Details
-
processResult
Processes and allows manipulation of the result from theHealthCheckinvocation.- 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.
-