camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: Polished
Date Mon, 04 Jan 2016 16:29:49 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x 7b5db245f -> bbbac65d5


Polished


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

Branch: refs/heads/camel-2.16.x
Commit: abec86ff1bf6b89ad0ec69eb46f56d584b7ead01
Parents: 7b5db24
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Jan 4 16:58:59 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Jan 4 17:29:33 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/abec86ff/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/abec86ff/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");


Mime
View raw message