@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=javax.jms.ConnectionFactory.class) @ConditionalOnBean(value=javax.jms.ConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="jms") @AutoConfigureAfter(value={ActiveMQAutoConfiguration.class,ArtemisAutoConfiguration.class}) public class JmsHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<JmsHealthIndicator,ConnectionFactory>
Constructor and Description |
---|
JmsHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
jmsHealthContributor(Map<String,ConnectionFactory> connectionFactories) |
createComposite
createContributor, createIndicator
public JmsHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"jmsHealthIndicator","jmsHealthContributor"}) public HealthContributor jmsHealthContributor(Map<String,ConnectionFactory> connectionFactories)