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.
1 parent 5fe09ed commit 66867ffCopy full SHA for 66867ff
test/src/com/rabbitmq/client/test/functional/Reject.java
@@ -33,6 +33,7 @@
33
34
import com.rabbitmq.client.test.BrokerTestCase;
35
36
+import com.rabbitmq.client.AMQP;
37
import com.rabbitmq.client.QueueingConsumer;
38
import com.rabbitmq.client.QueueingConsumer.Delivery;
39
@@ -72,5 +73,12 @@ public void testReject()
72
73
channel.basicReject(tag3, false);
74
assertNull(channel.basicGet(q, false));
75
channel.basicAck(tag1, false);
76
+ channel.basicReject(tag3, false);
77
+ try {
78
+ channel.basicQos(0); //some synchronous command
79
+ fail();
80
+ } catch (IOException ioe) {
81
+ checkShutdownSignal(AMQP.NOT_FOUND, ioe);
82
+ }
83
}
84
0 commit comments