CAMEL-9779: Fixed camel-netty http components to work when no port number has 
been configured.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c9994c6c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c9994c6c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c9994c6c

Branch: refs/heads/camel-2.17.x
Commit: c9994c6c11beffb7110037e71040e3c0fd1e6bfa
Parents: 9812112
Author: Claus Ibsen <davscl...@apache.org>
Authored: Thu Mar 31 07:53:30 2016 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Thu Mar 31 07:58:45 2016 +0200

----------------------------------------------------------------------
 .../apache/camel/component/netty/http/NettyCamelWebsiteTest.java  | 3 +--
 .../apache/camel/component/netty4/http/NettyCamelWebsiteTest.java | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c9994c6c/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyCamelWebsiteTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyCamelWebsiteTest.java
 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyCamelWebsiteTest.java
index b40e37c..2856354 100644
--- 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyCamelWebsiteTest.java
+++ 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyCamelWebsiteTest.java
@@ -17,7 +17,6 @@
 package org.apache.camel.component.netty.http;
 
 import org.apache.camel.Exchange;
-import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Ignore;
@@ -36,7 +35,7 @@ public class NettyCamelWebsiteTest extends CamelTestSupport {
     }
 
     @Override
-    protected RoutesBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {

http://git-wip-us.apache.org/repos/asf/camel/blob/c9994c6c/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyCamelWebsiteTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyCamelWebsiteTest.java
 
b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyCamelWebsiteTest.java
index 62edbc0..2f6c8be 100644
--- 
a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyCamelWebsiteTest.java
+++ 
b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyCamelWebsiteTest.java
@@ -17,7 +17,6 @@
 package org.apache.camel.component.netty4.http;
 
 import org.apache.camel.Exchange;
-import org.apache.camel.RoutesBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Ignore;
@@ -36,7 +35,7 @@ public class NettyCamelWebsiteTest extends CamelTestSupport {
     }
 
     @Override
-    protected RoutesBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {

Reply via email to