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:
Robert Davies 2009-09-04 11:12:02 +00:00
parent dd9c10dfde
commit db5cbc16ae
1 changed files with 1 additions and 0 deletions

View File

@ -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);