Skip to content

Commit 3232825

Browse files
committed
Clarify @async documentation
Issue: SPR-17458
1 parent e71ff29 commit 3232825

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/docs/asciidoc/integration.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6681,10 +6681,11 @@ in combination with a custom pointcut.
66816681
==== Executor Qualification with `@Async`
66826682

66836683
By default, when specifying `@Async` on a method, the executor that is used is the
6684-
one supplied to the "`annotation-driven`" element, as described earlier. However, you can use the `value`
6685-
attribute of the `@Async` annotation when you need to indicate that an
6686-
executor other than the default should be used when executing a given method.
6687-
The following example shows how to do so:
6684+
one <<scheduling-enable-annotation-support,configured when enabling async support>>, i.e.
6685+
the "`annotation-driven`" element if you are using XML or your `AsyncConfigurer`
6686+
implementation, if any. However, you can use the `value` attribute of the `@Async`
6687+
annotation when you need to indicate that an executor other than the default should be
6688+
used when executing a given method. The following example shows how to do so:
66886689

66896690
====
66906691
[source,java,indent=0]

0 commit comments

Comments
 (0)