Polished
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2db69a7e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2db69a7e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2db69a7e Branch: refs/heads/master Commit: 2db69a7ec5824f20eab513eaa3c6cd4bedd64543 Parents: 80c1224 Author: Claus Ibsen <davscl...@apache.org> Authored: Mon Jan 4 16:58:59 2016 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Jan 4 17:30:01 2016 +0100 ---------------------------------------------------------------------- .../camel/component/netty/http/NettyHttpMethodRestrictTest.java | 2 +- .../component/netty/http/NettyHttpStreamCacheFileResponseTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2db69a7e/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpMethodRestrictTest.java ---------------------------------------------------------------------- diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpMethodRestrictTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpMethodRestrictTest.java index d4955de..5ae0a05 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpMethodRestrictTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpMethodRestrictTest.java @@ -60,7 +60,7 @@ public class NettyHttpMethodRestrictTest extends BaseNettyTest { protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("netty-http://http://localhost:{{port}}/methodRestrict?httpMethodRestrict=POST").process(new Processor() { + from("netty-http:http://localhost:{{port}}/methodRestrict?httpMethodRestrict=POST").process(new Processor() { public void process(Exchange exchange) throws Exception { Message in = exchange.getIn(); String request = in.getBody(String.class); http://git-wip-us.apache.org/repos/asf/camel/blob/2db69a7e/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamCacheFileResponseTest.java ---------------------------------------------------------------------- diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamCacheFileResponseTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamCacheFileResponseTest.java index edfbf80..b88cffb 100644 --- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamCacheFileResponseTest.java +++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamCacheFileResponseTest.java @@ -64,7 +64,7 @@ public class NettyHttpStreamCacheFileResponseTest extends BaseNettyTest { context.getStreamCachingStrategy().setSpoolThreshold(16); context.setStreamCaching(true); - from("netty-http://http://localhost:{{port}}/myserver") + from("netty-http:http://localhost:{{port}}/myserver") // wrap the response in 2 input streams so it will force caching to disk .transform().constant(new BufferedInputStream(new ByteArrayInputStream(body2.getBytes()))) .to("log:reply");