From feae7be0a16c0d006df454a58d44e30d198bc116 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 22 Sep 2023 16:48:35 +0100 Subject: [PATCH] Polish "Fix handling of JMS listener concurrency properties" See gh-37180 --- .../springframework/boot/autoconfigure/jms/JmsProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java index 8774b27b3a..097a8d5dea 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java @@ -146,7 +146,8 @@ public class JmsProperties { private AcknowledgeMode acknowledgeMode; /** - * Minimum number of concurrent consumers. + * Minimum number of concurrent consumers. When max-concurrency is not specified + * the minimum will also be used as the maximum. */ private Integer concurrency;