jeanouii commented on code in PR #2766:
URL: https://github.com/apache/activemq/pull/2766#discussion_r4412116262


##########
activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java:
##########
@@ -392,6 +393,15 @@ protected ActiveMQConnection 
createActiveMQConnection(String userName, String pa
 
             configureConnection(connection);
 
+            // The failover reconnect task is created on first use, so the 
connection level
+            // virtual thread preference has to reach the transport before it 
starts
+            if (isUseVirtualThreadTaskRunner()) {

Review Comment:
   I have some doubts about the useVirtualThreadTaskRunner=false when it's used 
in the connection URI. As a user, I'm expecting that the URI query parameter 
overrides the default CF value. Is that correct?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to