diff --git a/spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java b/spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java index 5ae2201f4b0..ceb918e1920 100644 --- a/spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java +++ b/spring-core/src/main/java/org/springframework/core/task/SimpleAsyncTaskExecutor.java @@ -213,6 +213,7 @@ public class SimpleAsyncTaskExecutor extends CustomizableThreadCreator * Specify whether to reject tasks when the concurrency limit has been reached, * throwing {@link TaskRejectedException} (which extends the common * {@link java.util.concurrent.RejectedExecutionException}) + * on any further execution attempts. *

The default is {@code false}, blocking the caller until the submission can * be accepted. Switch this to {@code true} for immediate rejection instead. * @since 6.2.6