Reputation: 720
I am trying to override the default task executor used by the RequestMappingHandlerAdapter bean in a SpringBoot/SpringMVC application.
The javadocs recommend to replace the use of the default but do not give any indication on how to do this nor can I find anything in the SpringBoot documentation.
Upvotes: 2
Views: 5645
Reputation: 58094
The WebMvcConfigurer
has a callback for configuring async support (https://github.com/spring-projects/spring-framework/blob/master/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/WebMvcConfigurer.java#L92).
Upvotes: 4