From commits-return-76010-archive-asf-public=cust-asf.ponee.io@camel.apache.org Tue Aug 6 09:49:53 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id AAB661806C5 for ; Tue, 6 Aug 2019 11:49:52 +0200 (CEST) Received: (qmail 37957 invoked by uid 500); 6 Aug 2019 09:49:51 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 37470 invoked by uid 99); 6 Aug 2019 09:49:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2019 09:49:50 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 3356685EF1; Tue, 6 Aug 2019 09:49:50 +0000 (UTC) Date: Tue, 06 Aug 2019 09:50:06 +0000 To: "commits@camel.apache.org" Subject: [camel] 18/20: CAMEL-13792 - Rename components to default names, Camel-quartz2 to camel-quartz - Fixed camel-example-main-tiny MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <156508498788.19693.2712047611020801310@gitbox.apache.org> References: <156508498788.19693.2712047611020801310@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 6ff31d2284d1e9f96385105d8f1708e299bdbe83 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190806094950.3356685EF1@gitbox.apache.org> 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 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