We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae96a3f + 8481fce commit 8f4e080Copy full SHA for 8f4e080
test/src/com/rabbitmq/client/test/functional/QosTests.java
@@ -355,6 +355,21 @@ public void testFlow() throws IOException
355
drain(c, 1);
356
}
357
358
+ public void testLimitAndFlow() throws IOException
359
+ {
360
+ channel.basicQos(1);
361
+ QueueingConsumer c = new QueueingConsumer(channel);
362
+ declareBindConsume(c);
363
+ channel.flow(false);
364
+ fill(3);
365
+ drain(c, 0);
366
+ channel.flow(true);
367
+ ack(drain(c, 1), false);
368
+ drain(c, 1);
369
+ channel.basicQos(0);
370
371
+ }
372
+
373
public void testNoConsumers() throws Exception {
374
String q = declareBind(channel);
375
fill(1);
0 commit comments