Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x ede3663e4 -> b2614a620
  refs/heads/master 8377a194a -> 3356d1d84


Lets avoid the mock endpoint in our production route in this example


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

Branch: refs/heads/master
Commit: 3356d1d841d182eee52a5c483f1aba471968ae41
Parents: 8377a19
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Dec 16 16:57:30 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Dec 16 16:57:30 2015 +0100

----------------------------------------------------------------------
 .../archetype-resources/src/main/java/MySpringBootRouter.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3356d1d8/tooling/archetypes/camel-archetype-spring-boot/src/main/resources/archetype-resources/src/main/java/MySpringBootRouter.java
----------------------------------------------------------------------
diff --git 
a/tooling/archetypes/camel-archetype-spring-boot/src/main/resources/archetype-resources/src/main/java/MySpringBootRouter.java
 
b/tooling/archetypes/camel-archetype-spring-boot/src/main/resources/archetype-resources/src/main/java/MySpringBootRouter.java
index cc5f3d9..19289e9 100644
--- 
a/tooling/archetypes/camel-archetype-spring-boot/src/main/resources/archetype-resources/src/main/java/MySpringBootRouter.java
+++ 
b/tooling/archetypes/camel-archetype-spring-boot/src/main/resources/archetype-resources/src/main/java/MySpringBootRouter.java
@@ -25,9 +25,9 @@ public class MySpringBootRouter extends FatJarRouter {
 
     @Override
     public void configure() {
-        from("timer://trigger").
-                transform().simple("ref:myBean").
-                to("log:out", "mock:test");
+        from("timer:trigger")
+                .transform().simple("ref:myBean")
+                .to("log:out");
     }
 
     @Bean

Reply via email to