smongiar commented on code in PR #24140:
URL: https://github.com/apache/camel/pull/24140#discussion_r3443183745


##########
components/camel-salesforce/camel-salesforce-codegen/src/main/java/org/apache/camel/component/salesforce/codegen/AbstractSalesforceExecution.java:
##########
@@ -245,7 +246,9 @@ private SalesforceHttpClient createHttpClient() throws 
Exception {
 
             SecurityUtils.adaptToIBMCipherNames(sslContextFactory);
 
-            httpClient = new SalesforceHttpClient(sslContextFactory);
+            ExecutorService workerPool = 
camelContext.getExecutorServiceManager()
+                    .newThreadPool(this, "SalesforceHttpClient", 10, 20);

Review Comment:
   Good point. 10 core threads look unnecessary to me. Let my try with a single 
thread.



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