Skip to content

Commit 887fd9a

Browse files
author
Simon MacMullen
committed
Switch to hard coding the exchange name.
1 parent 440d174 commit 887fd9a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/src/com/rabbitmq/client/test/server/Firehose.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ public class Firehose extends BrokerTestCase {
1515
@Override
1616
protected void createResources() throws IOException {
1717
super.createResources();
18-
channel.exchangeDeclare("trace", "fanout", false, true, null);
1918
channel.exchangeDeclare("test", "fanout", false, true, null);
2019
q = channel.queueDeclare().getQueue();
2120
firehose = channel.queueDeclare().getQueue();
2221
channel.queueBind(q, "test", "");
23-
channel.queueBind(firehose, "trace", "");
22+
channel.queueBind(firehose, "amq.rabbitmq.trace", "#");
2423
}
2524

2625
public void testFirehose() throws IOException {
@@ -60,10 +59,10 @@ private void checkHeaders(Map<String, Object> pubHeaders) {
6059
}
6160

6261
private void enable() throws IOException {
63-
Host.rabbitmqctl("start_tracing trace");
62+
Host.rabbitmqctl("trace_on");
6463
}
6564

6665
private void disable() throws IOException {
67-
Host.rabbitmqctl("stop_tracing");
66+
Host.rabbitmqctl("trace_off");
6867
}
6968
}

0 commit comments

Comments
 (0)