File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6681,10 +6681,11 @@ in combination with a custom pointcut.
6681
6681
==== Executor Qualification with `@Async`
6682
6682
6683
6683
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:
6688
6689
6689
6690
====
6690
6691
[source,java,indent=0]
You can’t perform that action at this time.
0 commit comments