apupier commented on code in PR #21951:
URL: https://github.com/apache/camel/pull/21951#discussion_r2923595985


##########
components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbComponent.java:
##########
@@ -54,6 +58,9 @@ protected Endpoint createEndpoint(String uri, String 
remaining, Map<String, Obje
         MongoDbEndpoint endpoint = new MongoDbEndpoint(uri, this);
         endpoint.setConnectionBean(remaining);
         setProperties(endpoint, parameters);
+        if (endpoint.getSslContextParameters() == null) {
+            
endpoint.setSslContextParameters(retrieveGlobalSslContextParameters());
+        }

Review Comment:
   Shouldn't we check that useGlobalSslContextParameters is true?



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