This closes #3454
This commit is contained in:
commit
34af74ec14
|
@ -306,7 +306,9 @@ public class ActiveMQXAResourceWrapper implements XAResource, SessionFailureList
|
|||
} else {
|
||||
serverLocator = ActiveMQClient.createServerLocator(false, xaRecoveryConfig.getTransportConfig());
|
||||
}
|
||||
serverLocator.setLocatorConfig(xaRecoveryConfig.getLocatorConfig());
|
||||
if (xaRecoveryConfig.getLocatorConfig() != null) {
|
||||
serverLocator.setLocatorConfig(xaRecoveryConfig.getLocatorConfig());
|
||||
}
|
||||
serverLocator.disableFinalizeCheck();
|
||||
serverLocator.setProtocolManagerFactory(xaRecoveryConfig.getClientProtocolManager());
|
||||
csf = serverLocator.createSessionFactory();
|
||||
|
|
Loading…
Reference in New Issue