-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
Kenny MacLeod opened SPR-7043 and commented
I would like to see an attribute added to the @Async
annotation, which allows the specification of the name of the executor bean to be used for invocations on that method. This would be an alternative to specifying the executor name in the <task:annotation-driven/>
element.
The use case is that sometimes you want multiple executors in a context, and different @Async
-annotated beans need to use different executors. Currently, there is no way to do this - all @Async
-annotated beans in a given context must use whichever executor is configured in the <task:annotation-driven/>
element.
Affects: 3.0.1
Issue Links:
- Enable Executor qualification with @Async [SPR-6847] #11513 Enable Executor qualification with
@Async
("duplicates")
2 votes, 2 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement