diff --git a/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBean.java b/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBean.java index 4a764780aa..9b788cb972 100644 --- a/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBean.java +++ b/spring-boot/src/main/java/org/springframework/boot/jta/bitronix/PoolingConnectionFactoryBean.java @@ -148,7 +148,7 @@ public class PoolingConnectionFactoryBean extends PoolingConnectionFactory @Override public XAJMSContext createXAContext(String username, String password) { - return this.createXAContext(username, password); + return this.connectionFactory.createXAContext(username, password); } }