mirror of https://github.com/apache/activemq.git
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:
parent
cb519da097
commit
dc5ebcd51c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue