activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andytay...@apache.org
Subject [1/2] activemq-artemis git commit: [ARTEMIS-236] Improve Legacy support on older migrating clients
Date Fri, 09 Oct 2015 10:50:06 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master fcf18a764 -> e971f117b


[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


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/4bfb6e3a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/4bfb6e3a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/4bfb6e3a

Branch: refs/heads/master
Commit: 4bfb6e3a8c77429e47a2ec71605d7a2686dfc08f
Parents: fcf18a7
Author: Jeff Mesnil <jmesnil@gmail.com>
Authored: Fri Oct 9 12:05:07 2015 +0200
Committer: Jeff Mesnil <jmesnil@gmail.com>
Committed: Fri Oct 9 12:38:30 2015 +0200

----------------------------------------------------------------------
 .../service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/4bfb6e3a/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java
----------------------------------------------------------------------
diff --git a/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java
b/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java
index 3369532..bb1b533 100644
--- a/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java
+++ b/artemis-service-extensions/src/main/java/org/apache/activemq/artemis/service/extensions/xa/recovery/ActiveMQXAResourceWrapper.java
@@ -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);


Mime
View raw message