speed up test, redelivery delay of 1sec for 200 messages * 6 * 3, should be 0

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@997645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-16 09:02:09 +00:00
parent cb519da097
commit dc5ebcd51c
1 changed files with 1 additions and 0 deletions

View File

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