Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple executors for @Async [SPR-8865] #13507

Closed
spring-projects-issues opened this issue Nov 21, 2011 · 2 comments
Closed

Allow multiple executors for @Async [SPR-8865] #13507

spring-projects-issues opened this issue Nov 21, 2011 · 2 comments
Assignees
Labels
in: core status: declined type: enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Nov 21, 2011

Bozhidar Bozhanov opened SPR-8865 and commented

Currently <task:annotation-driven /> uses only one executor for all @Async methods. It can be useful (and is often required) to have multiple executors (and hence multiple thread pools for example). This can be achieved by an optional parameter of @Async: @Async("executorBeanId")


1 votes, 2 watchers

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Nov 23, 2011

Chris Beams commented

Hi Bozhidar,

This is certainly possible, but would require fairly significant refactoring within AsyncAnnotationBeanPostProcessor and other components. I've placed this in the General Backlog and labeled it as under-consideration in order to hear from other users in the form of votes and use cases. If this proves to have reasonable demand, we can consider it.

Thanks for the suggestion!

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Sep 22, 2015

Juergen Hoeller commented

Closing groups of outdated issues. Please reopen if still relevant.

@spring-projects-issues spring-projects-issues added status: declined type: enhancement in: core labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: declined type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants