You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/05/15 14:26:23 UTC
[camel] branch master updated: CAMEL-15063: Set the HTTP client in
the config instance to prevent a NPE (#3829)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 9d3df61 CAMEL-15063: Set the HTTP client in the config instance to prevent a NPE (#3829)
9d3df61 is described below
commit 9d3df6180bbe60ae2246f92e195943a9a71c8c20
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Fri May 15 16:26:05 2020 +0200
CAMEL-15063: Set the HTTP client in the config instance to prevent a NPE (#3829)
---
.../java/org/apache/camel/component/salesforce/SalesforceComponent.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
index d476fb0..3dd25b4 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
@@ -337,6 +337,7 @@ public class SalesforceComponent extends DefaultComponent implements SSLContextP
sslContextFactory.setSslContext(contextParameters.createSSLContext(getCamelContext()));
httpClient = createHttpClient(sslContextFactory);
+ getConfig().setHttpClient(httpClient);
}
if (httpClientProperties == null) {