smongiar opened a new pull request, #24141: URL: https://github.com/apache/camel/pull/24141
Backport of https://github.com/apache/camel/pull/24140 to `camel-4.18.x`. ## Summary `AbstractSalesforceExecution.createHttpClient()` in the `camel-salesforce-codegen` module uses the test-only `SalesforceHttpClient(SslContextFactory.Client)` constructor, which sets `workerPool` to `null`. When `AbstractClientBase.onComplete()` calls `httpClient.getWorkerPool().execute(...)`, this causes a `NullPointerException`. The NPE is swallowed by Jetty's response handling, so the callback never fires and the plugin times out with: ``` Error getting global Objects: Timeout waiting for getGlobalObjects! ``` ### Fix Use the production 3-arg constructor that accepts `CamelContext` and `ExecutorService`, matching what `SalesforceComponent.createHttpClient()` already does. -- 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]
