From 3232825a5550742e8ab91ee540e731d341112ba0 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 6 Nov 2018 08:30:30 +0100 Subject: [PATCH] Clarify @Async documentation Issue: SPR-17458 --- src/docs/asciidoc/integration.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/integration.adoc b/src/docs/asciidoc/integration.adoc index 7cc13276c5..258ddc1e08 100644 --- a/src/docs/asciidoc/integration.adoc +++ b/src/docs/asciidoc/integration.adoc @@ -6681,10 +6681,11 @@ in combination with a custom pointcut. ==== Executor Qualification with `@Async` By default, when specifying `@Async` on a method, the executor that is used is the -one supplied to the "`annotation-driven`" element, as described earlier. However, you can use the `value` -attribute of the `@Async` annotation when you need to indicate that an -executor other than the default should be used when executing a given method. -The following example shows how to do so: +one <>, i.e. +the "`annotation-driven`" element if you are using XML or your `AsyncConfigurer` +implementation, if any. However, you can use the `value` attribute of the `@Async` +annotation when you need to indicate that an executor other than the default should be +used when executing a given method. The following example shows how to do so: ==== [source,java,indent=0]