You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature request
Based on spring-projects/spring-boot#36387, when virtual threads are enabled, auto-configure Rabbit Message listener container (AbstractMessageListenerContainer) to use a virtual thread based executor.
Currently, enabling virtual threads does not automatically configure the executor as virtual threads. To achieve this behavior a ListenerContainerCustomizer can be configured as follows:
Fixes: spring-cloud#3040
This change adds out-of-the-box `ListenerContainerCustomizer<AbstractMessageListenerContainer>`
to set `VirtualThreadTaskExecutor` into an `AbstractMessageListenerContainer` created by the binder
when `Threading.VIRTUAL` condition is met
Describe the feature request
Based on spring-projects/spring-boot#36387, when virtual threads are enabled, auto-configure Rabbit Message listener container (AbstractMessageListenerContainer) to use a virtual thread based executor.
Currently, enabling virtual threads does not automatically configure the executor as virtual threads. To achieve this behavior a ListenerContainerCustomizer can be configured as follows:
But it would be nice not to have to do this for every RabbitMQ binder configured and have it automatically configured with SCS.
Version of the framework
Spring Boot 3.3.5
Spring Cloud 2023.0.3
The text was updated successfully, but these errors were encountered: