Skip to content

Commit f8f5d34

Browse files
author
Steve Powell
committed
Merged in default.
2 parents 9b618e8 + df3d31a commit f8f5d34

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 {
@@ -61,10 +60,10 @@ private void checkHeaders(Map<String, Object> pubHeaders) {
6160
}
6261

6362
private void enable() throws IOException {
64-
Host.rabbitmqctl("set_env trace_exchanges '[{<<\"/\">>, <<\"trace\">>}]'");
63+
Host.rabbitmqctl("trace_on");
6564
}
6665

6766
private void disable() throws IOException {
68-
Host.rabbitmqctl("unset_env trace_exchanges");
67+
Host.rabbitmqctl("trace_off");
6968
}
7069
}

0 commit comments

Comments
 (0)