-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed as not planned
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
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?
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply