Allow @Async to specify which executor to use [SPR-7043] #11705
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
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:
@Async
("duplicates")2 votes, 2 watchers
The text was updated successfully, but these errors were encountered: