Class JmsHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<JmsHealthIndicator,ConnectionFactory>
org.springframework.boot.actuate.autoconfigure.jms.JmsHealthContributorAutoConfiguration
@AutoConfiguration(after={ActiveMQAutoConfiguration.class,ArtemisAutoConfiguration.class})
@ConditionalOnClass(jakarta.jms.ConnectionFactory.class)
@ConditionalOnBean(jakarta.jms.ConnectionFactory.class)
@ConditionalOnEnabledHealthIndicator("jms")
public class JmsHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<JmsHealthIndicator,ConnectionFactory>
- Since:
- 2.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjmsHealthContributor
(Map<String, ConnectionFactory> connectionFactories) 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
-
JmsHealthContributorAutoConfiguration
public JmsHealthContributorAutoConfiguration()
-
-
Method Details
-
jmsHealthContributor
@Bean @ConditionalOnMissingBean(name={"jmsHealthIndicator","jmsHealthContributor"}) public HealthContributor jmsHealthContributor(Map<String, ConnectionFactory> connectionFactories)
-