@Configuration @ConditionalOnClass(value=javax.jms.ConnectionFactory.class) @ConditionalOnBean(value=javax.jms.ConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="jms") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value={ActiveMQAutoConfiguration.class,ArtemisAutoConfiguration.class}) public class JmsHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<JmsHealthIndicator,ConnectionFactory>
Constructor and Description |
---|
JmsHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
jmsHealthIndicator(Map<String,ConnectionFactory> connectionFactories) |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="jmsHealthIndicator") public HealthIndicator jmsHealthIndicator(Map<String,ConnectionFactory> connectionFactories)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.