Class RabbitHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<RabbitHealthIndicator,org.springframework.amqp.rabbit.core.RabbitTemplate>
org.springframework.boot.actuate.autoconfigure.amqp.RabbitHealthContributorAutoConfiguration
@AutoConfiguration(after=RabbitAutoConfiguration.class)
@ConditionalOnClass(org.springframework.amqp.rabbit.core.RabbitTemplate.class)
@ConditionalOnBean(org.springframework.amqp.rabbit.core.RabbitTemplate.class)
@ConditionalOnEnabledHealthIndicator("rabbit")
public class RabbitHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<RabbitHealthIndicator,org.springframework.amqp.rabbit.core.RabbitTemplate>
- Since:
- 2.0.0
- Author:
- Christian Dupuis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrabbitHealthContributor
(Map<String, org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
RabbitHealthContributorAutoConfiguration
public RabbitHealthContributorAutoConfiguration()
-
-
Method Details
-
rabbitHealthContributor
@Bean @ConditionalOnMissingBean(name={"rabbitHealthIndicator","rabbitHealthContributor"}) public HealthContributor rabbitHealthContributor(Map<String, org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates)
-