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/b2614a62
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b2614a62
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b2614a62

Branch: refs/heads/camel-2.16.x
Commit: b2614a62089a941890f2ae869fefef21b115b2ba
Parents: ede3663
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:51 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/b2614a62/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