diff --git a/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java b/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java index 5ec0f10d2e..551ad79842 100644 --- a/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java @@ -100,6 +100,7 @@ public class MessageListenerDeadLetterTest extends DeadLetterTestSupport { RedeliveryPolicy policy = new RedeliveryPolicy(); policy.setMaximumRedeliveries(3); policy.setBackOffMultiplier((short) 1); + policy.setRedeliveryDelay(0); policy.setInitialRedeliveryDelay(0); policy.setUseExponentialBackOff(false); answer.setRedeliveryPolicy(policy);