mirror of https://github.com/apache/activemq.git
explicitly set flow control
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd9c10dfde
commit
db5cbc16ae
|
@ -47,6 +47,7 @@ public class ProducerFlowControlSendFailTest extends ProducerFlowControlTest {
|
|||
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