@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,javax.jms.ConnectionFactory>
Constructor and Description |
---|
JmsHealthIndicatorAutoConfiguration(org.springframework.beans.factory.ObjectProvider<Map<String,javax.jms.ConnectionFactory>> connectionFactories) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
jmsHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="jmsHealthIndicator") public HealthIndicator jmsHealthIndicator()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.