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

Unable to configure more than one AsyncConfigurer implementation classes [SPR-17541] #22073

spring-projects-issues opened this issue Nov 27, 2018 · 2 comments
status: invalid


Copy link

@spring-projects-issues spring-projects-issues commented Nov 27, 2018

Kannadasan opened SPR-17541 and commented

I want to have a multiple implementation of AsyncConfigurer for my use cases.(i.e) I need to have a more than one ThreadPoolTaskExecutor with AsyncUncaughtExceptionHandler feature.

But I got an exception like IllegalStateException - Only one AsyncConfigurer may exist. For more detail PFA.


@spring-projects-issues spring-projects-issues added status: waiting-for-triage type: enhancement in: core and removed type: enhancement labels Jan 11, 2019
Copy link

@gendolf3d gendolf3d commented Jan 20, 2022

have the same use case.

Copy link

@snicoll snicoll commented Jan 21, 2022

@gendolf3d that's the intended behavior. Only one AsyncConfigurer can be exposed as a bean and the configurer configures the default thread pool only.

@snicoll snicoll closed this as completed Jan 21, 2022
@snicoll snicoll added status: invalid and removed status: waiting-for-triage in: core labels Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
status: invalid
None yet

No branches or pull requests

3 participants