From 095b4305ae265a8ba1db81d55819fc05d46b17a6 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Mon, 11 Jul 2011 16:07:27 +0000 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-2911: Option to make all consumers retroactive. comment use of dest policy git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145223 13f79535-47bb-0310-9956-ffa450edef68 --- .../retroactive/RetroactiveConsumerWithMessageQueryTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/test/retroactive/RetroactiveConsumerWithMessageQueryTest.java b/activemq-core/src/test/java/org/apache/activemq/test/retroactive/RetroactiveConsumerWithMessageQueryTest.java index d1457a5b68..184cd0c732 100644 --- a/activemq-core/src/test/java/org/apache/activemq/test/retroactive/RetroactiveConsumerWithMessageQueryTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/test/retroactive/RetroactiveConsumerWithMessageQueryTest.java @@ -88,7 +88,8 @@ public class RetroactiveConsumerWithMessageQueryTest extends EmbeddedBrokerTestS protected ConnectionFactory createConnectionFactory() throws Exception { ActiveMQConnectionFactory answer = new ActiveMQConnectionFactory(bindAddress); - //answer.setUseRetroactiveConsumer(true); + // answer.setUseRetroactiveConsumer(true); + // option applied via destination policy alwaysRetroactive return answer; }