• Stephane Nicoll's avatar
    Fix ConnectionFactory auto-configuration with XA · d2198c41
    Stephane Nicoll authored
    Previously, the regular jms connection factory was always overriding
    the xaConnectionFactory when using ActiveMQ. While
    ActiveMQAutoConfiguration is namely shielded with a condition on a
    missing ConnectionFactory bean, said configuration class also imports the
    XA and regular configuration classes that both can create the connection
    factory.
    
    This commit adds a ConditionalOnMissingBean in the second class that is
    imported in case the XA configuration has already defined what it needs.
    
    Fixes gh-1727
    d2198c41
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...