activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r513759 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/SimpleDispatchPolicyTest.java
Date Fri, 02 Mar 2007 13:44:17 GMT
Author: rajdavies
Date: Fri Mar  2 05:44:16 2007
New Revision: 513759

URL: http://svn.apache.org/viewvc?view=rev&rev=513759
Log:
fix for failing test

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

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/SimpleDispatchPolicyTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/SimpleDispatchPolicyTest.java?view=diff&rev=513759&r1=513758&r2=513759
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/SimpleDispatchPolicyTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/policy/SimpleDispatchPolicyTest.java
Fri Mar  2 05:44:16 2007
@@ -19,6 +19,7 @@
 
 import org.apache.activemq.broker.QueueSubscriptionTest;
 import org.apache.activemq.broker.BrokerService;
+import org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy;
 import org.apache.activemq.broker.region.policy.PolicyEntry;
 import org.apache.activemq.broker.region.policy.PolicyMap;
 import org.apache.activemq.broker.region.policy.SimpleDispatchPolicy;
@@ -34,7 +35,7 @@
 
         PolicyEntry policy = new PolicyEntry();
         policy.setDispatchPolicy(new SimpleDispatchPolicy());
-
+        policy.setSubscriptionRecoveryPolicy(new FixedCountSubscriptionRecoveryPolicy());
         PolicyMap pMap = new PolicyMap();
         pMap.setDefaultEntry(policy);
 



Mime
View raw message