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();
}
@Configuration
@ConditionalOnMissingBean(AuditEventRepository.class)
protected static class AuditEventRepositoryConfiguration {

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

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

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

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

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

Loading…
Cancel
Save