From 5d8e0369e73b53eaad05ecc0c56c8d3bf717df04 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 4 Nov 2016 11:50:10 +0900 Subject: [PATCH] Fix implementation of PoolingConnectionFactoryBean.createXAContext() Closes gh-7306 --- .../boot/jta/bitronix/PoolingConnectionFactoryBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }