camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 18/20: CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed camel-example-main-tiny
Date Tue, 06 Aug 2019 09:50:06 GMT
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 6ff31d2284d1e9f96385105d8f1708e299bdbe83
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Tue Aug 6 11:43:42 2019 +0200

    CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed
camel-example-main-tiny
---
 .../src/main/java/org/apache/camel/example/MyRouteBuilder.java        | 2 +-
 .../src/main/resources/META-INF/spring-configuration-metadata.json    | 4 ++--
 .../camel-example-main-tiny/src/main/resources/application.properties | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/camel-example-main-tiny/src/main/java/org/apache/camel/example/MyRouteBuilder.java
b/examples/camel-example-main-tiny/src/main/java/org/apache/camel/example/MyRouteBuilder.java
index d98ae5f..c2a1983 100644
--- a/examples/camel-example-main-tiny/src/main/java/org/apache/camel/example/MyRouteBuilder.java
+++ b/examples/camel-example-main-tiny/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-tiny/src/main/resources/META-INF/spring-configuration-metadata.json
b/examples/camel-example-main-tiny/src/main/resources/META-INF/spring-configuration-metadata.json
index db38795..d1fcda2 100644
--- a/examples/camel-example-main-tiny/src/main/resources/META-INF/spring-configuration-metadata.json
+++ b/examples/camel-example-main-tiny/src/main/resources/META-INF/spring-configuration-metadata.json
@@ -893,7 +893,7 @@
 			"defaultValue":"true"
 		},
 		{
-			"name":"camel.component.quartz2.start-delayed-seconds",
+			"name":"camel.component.quartz.start-delayed-seconds",
 			"type":"java.lang.Integer",
 			"sourceType":"org.apache.camel.component.quartz2.QuartzComponent",
 			"description":"Seconds to wait before starting the quartz scheduler."
@@ -965,4 +965,4 @@
 			"defaultValue":"false"
 		}
 	]
-}
\ No newline at end of file
+}
diff --git a/examples/camel-example-main-tiny/src/main/resources/application.properties b/examples/camel-example-main-tiny/src/main/resources/application.properties
index 3f19af4..ca8f08c 100644
--- a/examples/camel-example-main-tiny/src/main/resources/application.properties
+++ b/examples/camel-example-main-tiny/src/main/resources/application.properties
@@ -31,7 +31,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


Mime
View raw message