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:22 UTC
[camel] 02/04: CAMEL-12759 - Misleading documentation for Netty
components - Netty4-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 c065ce18af9c9465f1746ce9f05b58c2dc4fa166
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 16 12:00:26 2018 +0100
CAMEL-12759 - Misleading documentation for Netty components - Netty4-http
---
components/camel-netty4-http/src/main/docs/netty4-http-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-netty4-http/src/main/docs/netty4-http-component.adoc b/components/camel-netty4-http/src/main/docs/netty4-http-component.adoc
index 6018cbd..144a257 100644
--- a/components/camel-netty4-http/src/main/docs/netty4-http-component.adoc
+++ b/components/camel-netty4-http/src/main/docs/netty4-http-component.adoc
@@ -39,7 +39,7 @@ The URI scheme for a netty component is as follows
[source,java]
-------------------------------------------
-netty4-http:http://localhost:8080[?options]
+netty4-http:http://0.0.0.0:8080[?options]
-------------------------------------------
You can append query options to the URI in the following format,
@@ -362,7 +362,7 @@ ProducerTemplate as shown below:
[source,java]
------------------------------------------------------------------------------------------------------------
- String out = template.requestBody("netty4-http:http://localhost:8080/foo", "Hello World", String.class);
+ String out = template.requestBody("netty4-http:http://0.0.0.0:8080/foo", "Hello World", String.class);
System.out.println(out);
------------------------------------------------------------------------------------------------------------