Closed as not planned
Description
In Spring Boot 3.3.3, I have virtual threads enabled (spring.threads.virtual.enabled=true). However, I'm having trouble configuring RestClient to use virtual threads instead of platform threads.
Could someone share how to configure RestClient to use virtual threads? Here's my current configuration:
@Bean
public RestClient restClient(RestClient.Builder builder) {
return builder
.baseUrl("http://api.example.com")
.build();
}
What's the proper way to configure RestClient to utilize virtual threads rather than platform threads?