@@ -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