Spring @Async with multiple exception handlers [SPR-14381] #18954
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Mukund Jalan opened SPR-14381 and commented
Currently if I am using XML configuration, as per #13635 I can specify exception-handler in tag task:annotation-driven to specify an exception handling strategy for all the
@Async
methods in my system. If I have multiple executors, I can specify value to the@Async
annotation and have a different executor configured. Similarly, if I need to specify a different exception handler, there is no provision to have it for different scenarios.I hope to have a provision to specify the class of my AsyncUncaughtExceptionHandler in
@Async
annotation.No further details from SPR-14381
The text was updated successfully, but these errors were encountered: