Croway commented on code in PR #23307:
URL: https://github.com/apache/camel/pull/23307#discussion_r3261265753


##########
core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java:
##########
@@ -958,6 +1011,8 @@ protected void postProcessCamelContext(CamelContext 
camelContext) throws Excepti
         configureRoutesLoader(camelContext);
         // configure custom main listeners
         configureMainListener(camelContext);
+        // configure virtual threads early before build() to avoid ThreadType 
DCL race
+        configureVirtualThreadsEarly(camelContext);

Review Comment:
   is 
https://github.com/davsclaus/camel/blob/e93773b5b3e3cbd992c5170b905614b738160a96/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java#L593
 still needed? or can be removed in favour of `configureVirtualThreadsEarly` ?



-- 
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]

Reply via email to