activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r997645 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java
Date Thu, 16 Sep 2010 09:02:09 GMT
Author: gtully
Date: Thu Sep 16 09:02:09 2010
New Revision: 997645

URL: http://svn.apache.org/viewvc?rev=997645&view=rev
Log:
speed up test, redelivery delay of 1sec for 200 messages * 6 * 3, should be 0

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java?rev=997645&r1=997644&r2=997645&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/MessageListenerDeadLetterTest.java
Thu Sep 16 09:02:09 2010
@@ -100,6 +100,7 @@ public class MessageListenerDeadLetterTe
         RedeliveryPolicy policy = new RedeliveryPolicy();
         policy.setMaximumRedeliveries(3);
         policy.setBackOffMultiplier((short) 1);
+        policy.setRedeliveryDelay(0);
         policy.setInitialRedeliveryDelay(0);
         policy.setUseExponentialBackOff(false);
         answer.setRedeliveryPolicy(policy);



Mime
View raw message