@@ -49,7 +49,6 @@ public class MulticastParams {
49
49
50
50
private int multiAckEvery = 0 ;
51
51
private boolean autoAck = true ;
52
- private boolean exclusive = true ;
53
52
private boolean autoDelete = false ;
54
53
55
54
private boolean predeclared ;
@@ -131,10 +130,6 @@ public void setFlags(List<?> flags) {
131
130
this .flags = flags ;
132
131
}
133
132
134
- public void setExclusive (boolean exclusive ) {
135
- this .exclusive = exclusive ;
136
- }
137
-
138
133
public void setAutoDelete (boolean autoDelete ) {
139
134
this .autoDelete = autoDelete ;
140
135
}
@@ -187,7 +182,7 @@ public Consumer createConsumer(Connection connection, Stats stats, String id) th
187
182
}
188
183
189
184
public boolean shouldConfigureQueue () {
190
- return consumerCount == 0 && !queueName .equals ("" ) && ! exclusive ;
185
+ return consumerCount == 0 && !queueName .equals ("" );
191
186
}
192
187
193
188
public String configureQueue (Connection connection , String id ) throws IOException {
@@ -199,7 +194,7 @@ public String configureQueue(Connection connection, String id) throws IOExceptio
199
194
if (!predeclared || !queueExists (connection , queueName )) {
200
195
qName = channel .queueDeclare (queueName ,
201
196
flags .contains ("persistent" ),
202
- exclusive , autoDelete ,
197
+ false , autoDelete ,
203
198
null ).getQueue ();
204
199
}
205
200
channel .queueBind (qName , exchangeName , id );
0 commit comments