File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spring-rabbit/src/main/java/org/springframework/amqp/rabbit/listener Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 53
53
rabbitmqVersion = project. hasProperty(' rabbitmqVersion' ) ? project. rabbitmqVersion : ' 5.7.3'
54
54
rabbitmqHttpClientVersion = ' 3.2.0.RELEASE'
55
55
reactorVersion = ' 3.3.0.RC1'
56
- springDataCommonsVersion = ' 2.2.0.BUILD-SNAPSHOT '
56
+ springDataCommonsVersion = ' 2.2.0.RC3 '
57
57
springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 5.2.0.RC2'
58
58
springRetryVersion = ' 1.2.4.RELEASE'
59
59
}
Original file line number Diff line number Diff line change @@ -217,14 +217,14 @@ public void setConcurrency(String concurrency) {
217
217
try {
218
218
int separatorIndex = concurrency .indexOf ('-' );
219
219
if (separatorIndex != -1 ) {
220
- int concurrentConsumers = Integer .parseInt (concurrency .substring (0 , separatorIndex ));
221
- int maxConcurrentConsumers = Integer .parseInt (concurrency .substring (separatorIndex + 1 ));
222
- Assert .isTrue (maxConcurrentConsumers >= concurrentConsumers ,
220
+ int consumers = Integer .parseInt (concurrency .substring (0 , separatorIndex ));
221
+ int maxConsumers = Integer .parseInt (concurrency .substring (separatorIndex + 1 ));
222
+ Assert .isTrue (maxConsumers >= consumers ,
223
223
"'maxConcurrentConsumers' value must be at least 'concurrentConsumers'" );
224
224
this .concurrentConsumers = 1 ;
225
225
this .maxConcurrentConsumers = null ;
226
- setConcurrentConsumers (concurrentConsumers );
227
- setMaxConcurrentConsumers (maxConcurrentConsumers );
226
+ setConcurrentConsumers (consumers );
227
+ setMaxConcurrentConsumers (maxConsumers );
228
228
}
229
229
else {
230
230
setConcurrentConsumers (Integer .parseInt (concurrency ));
You can’t perform that action at this time.
0 commit comments