gnodet opened a new pull request, #21743: URL: https://github.com/apache/camel/pull/21743
## Summary - Add `camel.main.virtualThreadsEnabled` property to enable virtual threads from `application.properties` instead of requiring a `-D` JVM system property - Change `ThreadType` to lazy initialization so the system property can be set during bootstrap before thread pools are created - Read the property early in `BaseMainSupport.autoconfigure()` using `autoConfigurationSingleOption` - Update virtual threads documentation This allows users to enable virtual threads in camel-jbang, camel-main, and camel-spring-boot via: ```properties camel.main.virtualThreadsEnabled=true ``` Fixes: https://issues.apache.org/jira/browse/CAMEL-20199 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
