You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2015/03/02 18:04:02 UTC

camel git commit: Migrated Spring Boot tests to Netty 4.

Repository: camel
Updated Branches:
  refs/heads/master 2b525b9c5 -> 51fa379fd


Migrated Spring Boot tests to Netty 4.


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

Branch: refs/heads/master
Commit: 51fa379fd4f7f156d3c83ebcf514ecf4ed55893c
Parents: 2b525b9
Author: Henryk Konsek <he...@gmail.com>
Authored: Mon Mar 2 18:03:55 2015 +0100
Committer: Henryk Konsek <he...@gmail.com>
Committed: Mon Mar 2 18:03:55 2015 +0100

----------------------------------------------------------------------
 components/camel-spring-boot/pom.xml                             | 4 ++--
 .../camel/spring/boot/fatjarroutertests/TestFatJarRouter.java    | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/51fa379f/components/camel-spring-boot/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/pom.xml b/components/camel-spring-boot/pom.xml
index a109b9f..d23c27c 100644
--- a/components/camel-spring-boot/pom.xml
+++ b/components/camel-spring-boot/pom.xml
@@ -88,12 +88,12 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
-            <scope>test</scope>
             <version>${spring-boot-version}</version>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.camel</groupId>
-            <artifactId>camel-netty-http</artifactId>
+            <artifactId>camel-netty4-http</artifactId>
             <scope>test</scope>
         </dependency>
     </dependencies>

http://git-wip-us.apache.org/repos/asf/camel/blob/51fa379f/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/fatjarroutertests/TestFatJarRouter.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/fatjarroutertests/TestFatJarRouter.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/fatjarroutertests/TestFatJarRouter.java
index 9770024..ed44d5c 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/fatjarroutertests/TestFatJarRouter.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/fatjarroutertests/TestFatJarRouter.java
@@ -25,7 +25,8 @@ public class TestFatJarRouter extends FatJarRouter {
 
     @Override
     public void configure() throws Exception {
-        from("netty-http:http://0.0.0.0:{{http.port}}").setBody().simple("ref:stringBean");
+        from("netty4-http:http://0.0.0.0:{{http.port}}").
+                setBody().simple("ref:stringBean");
     }
 
     @Bean