activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [2/2] activemq-artemis git commit: Fix SimpleOpenWireTest
Date Wed, 30 Nov 2016 14:24:08 GMT
Fix SimpleOpenWireTest


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

Branch: refs/heads/ARTEMIS-780
Commit: ca8636b68b7ede21b2b8d274b66f56739546448c
Parents: 4043049
Author: jbertram <jbertram@apache.com>
Authored: Wed Nov 30 08:19:32 2016 -0600
Committer: jbertram <jbertram@apache.com>
Committed: Wed Nov 30 08:23:41 2016 -0600

----------------------------------------------------------------------
 .../artemis/tests/integration/openwire/SimpleOpenWireTest.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ca8636b6/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/SimpleOpenWireTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/SimpleOpenWireTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/SimpleOpenWireTest.java
index be037ee..21d1fac 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/SimpleOpenWireTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/openwire/SimpleOpenWireTest.java
@@ -47,6 +47,7 @@ import org.apache.activemq.artemis.api.core.SimpleString;
 import org.apache.activemq.artemis.api.jms.ActiveMQJMSClient;
 import org.apache.activemq.artemis.core.postoffice.PostOffice;
 import org.apache.activemq.artemis.core.postoffice.impl.LocalQueueBinding;
+import org.apache.activemq.artemis.core.server.RoutingType;
 import org.apache.activemq.artemis.core.settings.impl.AddressSettings;
 import org.apache.activemq.command.ActiveMQQueue;
 import org.apache.activemq.command.ActiveMQTopic;
@@ -690,7 +691,7 @@ public class SimpleOpenWireTest extends BasicOpenWireTest {
       Connection conn1 = null;
 
       SimpleString durableQueue = new SimpleString("exampleQueue");
-      this.server.createQueue(durableQueue, durableQueue, null, true, false);
+      this.server.createQueue(durableQueue, RoutingType.ANYCAST, durableQueue, null, true,
false);
 
       Queue queue = ActiveMQJMSClient.createQueue("exampleQueue");
 


Mime
View raw message