This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new 35a0be9 Update TwitterConfiguration.java
35a0be9 is described below
commit 35a0be99b6dbfb64185316ceebbf46ade147e4f1
Author: Guilhaumon Arnaud <[email protected]>
AuthorDate: Fri Apr 20 11:15:55 2018 +0200
Update TwitterConfiguration.java
Lines 117 and 120 the setters where misconfigured, setting the proxyHost
all the time
---
.../java/org/apache/camel/component/twitter/TwitterConfiguration.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterConfiguration.java
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterConfiguration.java
index d7775d0..8a85304 100644
---
a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterConfiguration.java
+++
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterConfiguration.java
@@ -116,10 +116,10 @@ public class TwitterConfiguration {
confBuilder.setHttpProxyHost(getHttpProxyHost());
}
if (getHttpProxyUser() != null) {
- confBuilder.setHttpProxyHost(getHttpProxyUser());
+ confBuilder.setHttpProxyUser(getHttpProxyUser());
}
if (getHttpProxyPassword() != null) {
- confBuilder.setHttpProxyHost(getHttpProxyPassword());
+ confBuilder.setHttpProxyPassword(getHttpProxyPassword());
}
if (httpProxyPort != null) {
confBuilder.setHttpProxyPort(httpProxyPort);
--
To stop receiving notification emails like this one, please contact
[email protected].