merge #192 - [ARTEMIS-236] Improve Legacy support on older migrating clients

This commit is contained in:
Andy Taylor 2015-10-09 11:41:58 +01:00
commit e971f117b2
1 changed files with 1 additions and 0 deletions

View File

@ -310,6 +310,7 @@ public class ActiveMQXAResourceWrapper implements XAResource, SessionFailureList
serverLocator = ActiveMQClient.createServerLocator(false, xaRecoveryConfig.getTransportConfig());
}
serverLocator.disableFinalizeCheck();
serverLocator.setProtocolManagerFactory(xaRecoveryConfig.getClientProtocolManager());
csf = serverLocator.createSessionFactory();
if (xaRecoveryConfig.getUsername() == null) {
cs = csf.createSession(true, false, false);