mirror of https://github.com/apache/activemq.git
set flow control as a policy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a831a08abb
commit
aead3e0fc0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue