You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/06 09:50:07 UTC
[camel] 19/20: CAMEL-13792 - Rename components to default names,
Camel-quartz2 to camel-quartz - Fixed camel-example-main
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 087ab494faac7131b6afe0d5ee8b61cd6d8bf9f3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Aug 6 11:46:10 2019 +0200
CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed camel-example-main
---
.../src/main/java/org/apache/camel/example/MyRouteBuilder.java | 2 +-
examples/camel-example-main/src/main/resources/application.properties | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/camel-example-main/src/main/java/org/apache/camel/example/MyRouteBuilder.java b/examples/camel-example-main/src/main/java/org/apache/camel/example/MyRouteBuilder.java
index d98ae5f..c2a1983 100644
--- a/examples/camel-example-main/src/main/java/org/apache/camel/example/MyRouteBuilder.java
+++ b/examples/camel-example-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("quartz2:foo?cron={{myCron}}")
+ from("quartz:foo?cron={{myCron}}")
.bean("myBean", "hello")
.log("${body}")
.bean("myBean", "bye")
diff --git a/examples/camel-example-main/src/main/resources/application.properties b/examples/camel-example-main/src/main/resources/application.properties
index 9d61440..b0cb4a5 100644
--- a/examples/camel-example-main/src/main/resources/application.properties
+++ b/examples/camel-example-main/src/main/resources/application.properties
@@ -35,7 +35,7 @@ camel.main.file-configurations=src/main/data/*.properties
# to configure the camel quartz component
# here we can configure the options on the component level (and we can use dash-naming-style)
-camel.component.quartz2.start-delayed-seconds = 3
+camel.component.quartz.start-delayed-seconds = 3
# to configure Hystrix EIP (global and you need to add camel-hystrix to the classpath)
### camel.hystrix.group-key=myGroup