From 02c68921767ceee78dbf26c6d7e3041d08892990 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Wed, 3 Sep 2008 13:06:33 +0000 Subject: [PATCH] fix broken unit test after fix for AMQ-1919 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@691601 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/activemq/broker/virtual/MirroredQueueTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/broker/virtual/MirroredQueueTest.java b/activemq-core/src/test/java/org/apache/activemq/broker/virtual/MirroredQueueTest.java index 6fc730990a..b3b9ca7e52 100644 --- a/activemq-core/src/test/java/org/apache/activemq/broker/virtual/MirroredQueueTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/broker/virtual/MirroredQueueTest.java @@ -80,7 +80,7 @@ public class MirroredQueueTest extends EmbeddedBrokerTestSupport { connection = createConnection(); } connection.start(); - Session session = connection.createSession(false, 0); + Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); TemporaryQueue tempQueue = session.createTemporaryQueue(); RegionBroker rb = (RegionBroker) broker.getBroker().getAdaptor( RegionBroker.class);