Package org.apache.camel.health
Interface HealthCheckResultStrategy
-
public interface HealthCheckResultStrategyA strategy that allows SPI to processHealthCheckresults and enrich and manipulate the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessResult(HealthCheck check, Map<String,Object> options, HealthCheckResultBuilder builder)Processes and allows manipulation of the result from theHealthCheckinvocation.
-
-
-
Method Detail
-
processResult
void processResult(HealthCheck check, Map<String,Object> options, HealthCheckResultBuilder builder)
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.
-
-