You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/11/16 11:06:24 UTC
[camel] 04/04: CAMEL-12759 - Misleading documentation for Netty
components - Netty-http
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
commit 69f30d3921688075fa23f52567445e0db4bc8fa0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 16 12:02:44 2018 +0100
CAMEL-12759 - Misleading documentation for Netty components - Netty-http
---
components/camel-netty-http/src/main/docs/netty-http-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-netty-http/src/main/docs/netty-http-component.adoc b/components/camel-netty-http/src/main/docs/netty-http-component.adoc
index 1d3641b..2984a0e 100644
--- a/components/camel-netty-http/src/main/docs/netty-http-component.adoc
+++ b/components/camel-netty-http/src/main/docs/netty-http-component.adoc
@@ -42,7 +42,7 @@ The URI scheme for a netty component is as follows
[source,java]
------------------------------------------
-netty-http:http://localhost:8080[?options]
+netty-http:http://0.0.0.0:8080[?options]
------------------------------------------
You can append query options to the URI in the following format,
@@ -353,7 +353,7 @@ ProducerTemplate as shown below:
[source,java]
-----------------------------------------------------------------------------------------------------------
- String out = template.requestBody("netty-http:http://localhost:8080/foo", "Hello World", String.class);
+ String out = template.requestBody("netty-http:http://0.0.0.0:8080/foo", "Hello World", String.class);
System.out.println(out);
-----------------------------------------------------------------------------------------------------------