From aead3e0fc073b4370f105f94590494268bfa8098 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Thu, 10 Sep 2009 11:44:07 +0000 Subject: [PATCH] set flow control as a policy git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813384 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/java/org/apache/activemq/ProducerFlowControlTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java b/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java index 5abd12d86f..d78384abf9 100644 --- a/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/ProducerFlowControlTest.java @@ -269,6 +269,7 @@ public class ProducerFlowControlTest extends JmsTestSupport { policy.setMemoryLimit(1); policy.setPendingSubscriberPolicy(new VMPendingSubscriberMessageStoragePolicy()); policy.setPendingQueuePolicy(new VMPendingQueueMessageStoragePolicy()); + policy.setProducerFlowControl(true); policyMap.setDefaultEntry(policy); service.setDestinationPolicy(policyMap);