[ARTEMIS-236] Improve Legacy support on older migrating clients
set the client protocol manager factory on the server locator JIRA: https://issues.apache.org/jira/browse/ARTEMIS-236
This commit is contained in:
parent
fcf18a7644
commit
4bfb6e3a8c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue