Merge branch '1.5.x'

pull/11232/head
Stephane Nicoll 7 years ago
commit 5dc28ec446

@ -69,6 +69,7 @@ public class AuditAutoConfiguration {
return new AuthorizationAuditListener(); return new AuthorizationAuditListener();
} }
@Configuration
@ConditionalOnMissingBean(AuditEventRepository.class) @ConditionalOnMissingBean(AuditEventRepository.class)
protected static class AuditEventRepositoryConfiguration { protected static class AuditEventRepositoryConfiguration {

@ -82,12 +82,14 @@ class JmsAnnotationDrivenConfiguration {
return factory; return factory;
} }
@Configuration
@EnableJms @EnableJms
@ConditionalOnMissingBean(name = JmsListenerConfigUtils.JMS_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME) @ConditionalOnMissingBean(name = JmsListenerConfigUtils.JMS_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME)
protected static class EnableJmsConfiguration { protected static class EnableJmsConfiguration {
} }
@Configuration
@ConditionalOnJndi @ConditionalOnJndi
protected static class JndiConfiguration { protected static class JndiConfiguration {

@ -104,6 +104,7 @@ public class JmsAutoConfiguration {
} }
@Configuration
@ConditionalOnClass(JmsMessagingTemplate.class) @ConditionalOnClass(JmsMessagingTemplate.class)
@Import(JmsTemplateConfiguration.class) @Import(JmsTemplateConfiguration.class)
protected static class MessagingTemplateConfiguration { protected static class MessagingTemplateConfiguration {

@ -53,6 +53,7 @@ class ActiveMQConnectionFactoryConfiguration {
.createConnectionFactory(ActiveMQConnectionFactory.class); .createConnectionFactory(ActiveMQConnectionFactory.class);
} }
@Configuration
@ConditionalOnClass(PooledConnectionFactory.class) @ConditionalOnClass(PooledConnectionFactory.class)
static class PooledConnectionFactoryConfiguration { static class PooledConnectionFactoryConfiguration {

@ -73,6 +73,7 @@ class KafkaAnnotationDrivenConfiguration {
return factory; return factory;
} }
@Configuration
@EnableKafka @EnableKafka
@ConditionalOnMissingBean(name = KafkaListenerConfigUtils.KAFKA_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME) @ConditionalOnMissingBean(name = KafkaListenerConfigUtils.KAFKA_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME)
protected static class EnableKafkaConfiguration { protected static class EnableKafkaConfiguration {

@ -123,6 +123,7 @@ class BitronixJtaConfiguration {
return jtaTransactionManager; return jtaTransactionManager;
} }
@Configuration
@ConditionalOnClass(Message.class) @ConditionalOnClass(Message.class)
static class BitronixJtaJmsConfiguration { static class BitronixJtaJmsConfiguration {

Loading…
Cancel
Save