You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/11/14 10:44:05 UTC

[camel-examples] branch main updated: Polished

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 6e2e180  Polished
6e2e180 is described below

commit 6e2e180be9352d34a4e226f2a2f5689b3b690c9c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Nov 14 11:40:16 2021 +0100

    Polished
---
 .../main/src/main/java/org/apache/camel/example/MyRouteBuilder.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/main/src/main/java/org/apache/camel/example/MyRouteBuilder.java b/examples/main/src/main/java/org/apache/camel/example/MyRouteBuilder.java
index c2a1983..06788df 100644
--- a/examples/main/src/main/java/org/apache/camel/example/MyRouteBuilder.java
+++ b/examples/main/src/main/java/org/apache/camel/example/MyRouteBuilder.java
@@ -22,7 +22,7 @@ public class MyRouteBuilder extends RouteBuilder {
 
     @Override
     public void configure() throws Exception {
-        from("quartz:foo?cron={{myCron}}")
+        from("quartz:foo?cron={{myCron}}").routeId("foo")
             .bean("myBean", "hello")
             .log("${body}")
             .bean("myBean", "bye")