activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r813384 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java
Date Thu, 10 Sep 2009 11:44:08 GMT
Author: rajdavies
Date: Thu Sep 10 11:44:07 2009
New Revision: 813384

URL: http://svn.apache.org/viewvc?rev=813384&view=rev
Log:
set flow control as a policy

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java?rev=813384&r1=813383&r2=813384&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java
Thu Sep 10 11:44:07 2009
@@ -269,6 +269,7 @@
         policy.setMemoryLimit(1);
         policy.setPendingSubscriberPolicy(new VMPendingSubscriberMessageStoragePolicy());
         policy.setPendingQueuePolicy(new VMPendingQueueMessageStoragePolicy());
+        policy.setProducerFlowControl(true);
         policyMap.setDefaultEntry(policy);
         service.setDestinationPolicy(policyMap);
 



Mime
View raw message