File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
test/src/com/rabbitmq/examples Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ public static void main(String[] args) {
70
70
71
71
String uri = strArg (cmd , 'h' , "amqp://localhost" );
72
72
73
- boolean exclusive = "" .equals (queueName );
74
-
75
73
//setup
76
74
PrintlnStats stats = new PrintlnStats (1000L * samplingInterval ,
77
75
producerCount > 0 ,
@@ -88,14 +86,14 @@ public static void main(String[] args) {
88
86
89
87
MulticastParams p = new MulticastParams ();
90
88
p .setAutoAck ( autoAck );
91
- p .setAutoDelete ( ! exclusive );
89
+ p .setAutoDelete ( true );
92
90
p .setConfirm ( confirm );
93
91
p .setConsumerCount ( consumerCount );
94
92
p .setConsumerMsgCount ( consumerMsgCount );
95
93
p .setConsumerTxSize ( consumerTxSize );
96
94
p .setExchangeName ( exchangeName );
97
95
p .setExchangeType ( exchangeType );
98
- p .setExclusive ( exclusive );
96
+ p .setExclusive ( false );
99
97
p .setFlags ( flags );
100
98
p .setMultiAckEvery ( multiAckEvery );
101
99
p .setMinMsgSize ( minMsgSize );
You can’t perform that action at this time.
0 commit comments