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);