Skip to content

Commit bafd351

Browse files
author
Simon MacMullen
committed
Further removal of things relating to exclusiveness.
1 parent 1820704 commit bafd351

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

test/src/com/rabbitmq/examples/PerfTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public static void main(String[] args) {
9393
p.setConsumerTxSize( consumerTxSize);
9494
p.setExchangeName( exchangeName);
9595
p.setExchangeType( exchangeType);
96-
p.setExclusive( false);
9796
p.setFlags( flags);
9897
p.setMultiAckEvery( multiAckEvery);
9998
p.setMinMsgSize( minMsgSize);

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public class MulticastParams {
4949

5050
private int multiAckEvery = 0;
5151
private boolean autoAck = true;
52-
private boolean exclusive = true;
5352
private boolean autoDelete = false;
5453

5554
private boolean predeclared;
@@ -131,10 +130,6 @@ public void setFlags(List<?> flags) {
131130
this.flags = flags;
132131
}
133132

134-
public void setExclusive(boolean exclusive) {
135-
this.exclusive = exclusive;
136-
}
137-
138133
public void setAutoDelete(boolean autoDelete) {
139134
this.autoDelete = autoDelete;
140135
}
@@ -187,7 +182,7 @@ public Consumer createConsumer(Connection connection, Stats stats, String id) th
187182
}
188183

189184
public boolean shouldConfigureQueue() {
190-
return consumerCount == 0 && !queueName.equals("") && !exclusive;
185+
return consumerCount == 0 && !queueName.equals("");
191186
}
192187

193188
public String configureQueue(Connection connection, String id) throws IOException {
@@ -199,7 +194,7 @@ public String configureQueue(Connection connection, String id) throws IOExceptio
199194
if (!predeclared || !queueExists(connection, queueName)) {
200195
qName = channel.queueDeclare(queueName,
201196
flags.contains("persistent"),
202-
exclusive, autoDelete,
197+
false, autoDelete,
203198
null).getQueue();
204199
}
205200
channel.queueBind(qName, exchangeName, id);

0 commit comments

Comments
 (0)