public class AxonServerHealthIndicator
extends org.springframework.boot.actuate.health.AbstractHealthIndicator
AbstractHealthIndicator implementation exposing the health of the connections made through the AxonServerConnectionManager. This status is exposed through the "axonServer" component.
The status is regarded as Status.UP if all AxonServerConnectionManager.connections() are up.
If one of them is down, the status is HealthStatus.WARN. If all of them are down the status will be Status.DOWN. This HealthIndicator also shares connection details per
context under "{context-name}.connection.active".
| Constructor and Description |
|---|
AxonServerHealthIndicator(AxonServerConnectionManager connectionManager)
Constructs this health indicator, extracting health information from the given
connectionManager. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) |
public AxonServerHealthIndicator(AxonServerConnectionManager connectionManager)
connectionManager.connectionManager - The Axon Server connection manager to extract health information from.Copyright © 2010–2023. All rights reserved.