8000 Merge branch 'bug26545' · jamesHaut/rabbitmq-java-client@8af06ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 8af06ca

Browse files
committed
Merge branch 'bug26545'
2 parents 66420cf + ae3a6b7 commit 8af06ca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
}

0 commit comments

Comments
 (0)
0