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