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 2015/10/30 17:12:00 UTC
[4/6] camel git commit: Fixed undertow for rest-dsl should use
localhost as hostname by default
Fixed undertow for rest-dsl should use localhost as hostname by default
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/719b4cd7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/719b4cd7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/719b4cd7
Branch: refs/heads/camel-2.16.x
Commit: 719b4cd72a9c2c0146f7f93951c865829e6ad34e
Parents: 36d5c02
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Oct 30 14:35:24 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Oct 30 17:14:14 2015 +0100
----------------------------------------------------------------------
.../org/apache/camel/component/undertow/UndertowComponent.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/719b4cd7/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
index 13ad686..695e376 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
@@ -115,7 +115,7 @@ public class UndertowComponent extends UriEndpointComponent implements RestConsu
}
path = FileUtil.stripLeadingSeparator(path);
String scheme = "http";
- String host = "";
+ String host = "localhost";
int port = 0;
RestConfiguration config = configuration;