davsclaus commented on a change in pull request #6085: URL: https://github.com/apache/camel/pull/6085#discussion_r708836602
########## File path: components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceHttpClient.java ########## @@ -113,6 +113,12 @@ protected void doStart() throws Exception { super.doStart(); } + @Override + protected void doStop() throws Exception { + workerPool.shutdown(); Review comment: Use executorServiceManager to shutdown the pool, and also do a if != null check (as camel can stop a service if it failed to start so the pool can potentially be null) -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org