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.git
The following commit(s) were added to refs/heads/main by this push: new 91b2344cbdb Polished 91b2344cbdb is described below commit 91b2344cbdb40214da8b6831211174688784166a Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Apr 28 20:05:26 2022 +0200 Polished --- .../camel-jbang-core/src/main/resources/templates/java.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/java.tmpl b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/java.tmpl index 722e7fc0fe6..37bc087951e 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/java.tmpl +++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/java.tmpl @@ -1,4 +1,4 @@ -// camel-k: language=java property=time=1000 +// camel-k: language=java import org.apache.camel.builder.RouteBuilder; @@ -8,7 +8,7 @@ public class {{ .Name }} extends RouteBuilder { public void configure() throws Exception { // Write your routes here, for example: - from("timer:java?period={{time}}").routeId("java") + from("timer:java?period={{time:1000}}").routeId("java") .setBody() .simple("Hello Camel from ${routeId}") .log("${body}");