File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
test/src/com/rabbitmq/client/test/functional Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .rabbitmq .client .test .functional ;
2
+
3
+ import com .rabbitmq .client .AMQP ;
4
+ import com .rabbitmq .client .test .BrokerTestCase ;
5
+
6
+ import java .io .IOException ;
7
+
8
+ public class ExchangeDeletePredeclared extends BrokerTestCase {
9
+ public void testDeletingPredeclaredAmqExchange () throws IOException {
10
+ try {
11
+ channel .exchangeDelete ("amq.fanout" );
12
+ } catch (IOException e ) {
13
+ checkShutdownSignal (AMQP .ACCESS_REFUSED , e );
14
+ }
15
+ }
16
+
17
+ public void testDeletingPredeclaredAmqRabbitMQExchange () throws IOException {
18
+ try {
19
+ channel .exchangeDelete ("amq.rabbitmq.log" );
20
+ } catch (IOException e ) {
21
+ checkShutdownSignal (AMQP .ACCESS_REFUSED , e );
22
+ }
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments