Skip to content

Commit 1223706

Browse files
author
Simon MacMullen
committed
A bit more safety.
1 parent eae1c4f commit 1223706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/com/rabbitmq/examples/perf/MulticastParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public Consumer createConsumer(Connection connection, Stats stats, String id) th
170170
}
171171

172172
public boolean shouldConfigureQueue() {
173-
return consumerCount == 0 && !queueName.equals("");
173+
return consumerCount == 0 && !queueName.equals("") && !exclusive;
174174
}
175175

176176
public String configureQueue(Connection connection, String id) throws IOException {

0 commit comments

Comments
 (0)