This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch sandbox/camel-3.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 541d6b620dbcd085f0d4962594257aa5bca12111 Author: Andrea Cosentino <[email protected]> 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 52ceb67..18091e7 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); ------------------------------------------------------------------------------------------------------------
