类 RabbitHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.boot.actuate.amqp.RabbitHealthIndicator
- 所有已实现的接口:
HealthContributor
,HealthIndicator
Simple implementation of a
HealthIndicator
returning status information for the
RabbitMQ messaging system.- 从以下版本开始:
- 1.1.0
- 作者:
- Christian Dupuis
-
构造器详细资料
-
RabbitHealthIndicator
public RabbitHealthIndicator(org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate)
-
-
方法详细资料
-
doHealthCheck
从类复制的说明:AbstractHealthIndicator
Actual health check logic.- 指定者:
doHealthCheck
在类中AbstractHealthIndicator
- 参数:
builder
- theHealth.Builder
to report health status and details- 抛出:
Exception
- anyException
that should create aStatus.DOWN
system status.
-