This is an automated email from the ASF dual-hosted git repository. acosentino 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 0b31519 SlackProducer should be able to use a HTTP proxy to reach Slack in a secured environnement 0b31519 is described below commit 0b31519efba0053a634284564a09a443a901e43f Author: NKame <k...@cinemasie.com> AuthorDate: Tue Feb 13 15:08:50 2018 +0000 SlackProducer should be able to use a HTTP proxy to reach Slack in a secured environnement http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html --- .../src/main/java/org/apache/camel/component/slack/SlackProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackProducer.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackProducer.java index 5d697ca..ad2a720 100644 --- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackProducer.java +++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/SlackProducer.java @@ -46,7 +46,7 @@ public class SlackProducer extends DefaultProducer { public void process(Exchange exchange) throws Exception { // Create an HttpClient and Post object - HttpClient client = HttpClientBuilder.create().build(); + HttpClient client = HttpClientBuilder.create().useSystemProperties().build(); HttpPost httpPost = new HttpPost(slackEndpoint.getWebhookUrl()); // Build Helper object -- To stop receiving notification emails like this one, please contact acosent...@apache.org.