From 871654ded6ceed2781331a0be6b977bacba6c094 Mon Sep 17 00:00:00 2001 From: Tomasz Adamski Date: Wed, 11 Jul 2018 21:01:30 +0200 Subject: [PATCH] Change org.apache.activemq.jms.pool.XaPooledConnectionFactory#tmFromJndi parameter to Boolean for JCA validation --- .../apache/activemq/jms/pool/XaPooledConnectionFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/XaPooledConnectionFactory.java b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/XaPooledConnectionFactory.java index a5d5aea65c..dd4f9627b8 100644 --- a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/XaPooledConnectionFactory.java +++ b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/XaPooledConnectionFactory.java @@ -43,7 +43,7 @@ public class XaPooledConnectionFactory extends PooledConnectionFactory implement private static final long serialVersionUID = -6545688026350913005L; private TransactionManager transactionManager; - private boolean tmFromJndi = false; + private Boolean tmFromJndi = false; private String tmJndiName = "java:/TransactionManager"; public TransactionManager getTransactionManager() { @@ -129,7 +129,7 @@ public class XaPooledConnectionFactory extends PooledConnectionFactory implement this.tmJndiName = tmJndiName; } - public boolean isTmFromJndi() { + public Boolean isTmFromJndi() { return tmFromJndi; } @@ -138,7 +138,7 @@ public class XaPooledConnectionFactory extends PooledConnectionFactory implement * * @param tmFromJndi */ - public void setTmFromJndi(boolean tmFromJndi) { + public void setTmFromJndi(Boolean tmFromJndi) { this.tmFromJndi = tmFromJndi; } }