Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D72A17D7C for ; Thu, 1 Oct 2015 16:21:27 +0000 (UTC) Received: (qmail 52979 invoked by uid 500); 1 Oct 2015 16:21:27 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 52945 invoked by uid 500); 1 Oct 2015 16:21:27 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 52934 invoked by uid 99); 1 Oct 2015 16:21:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2015 16:21:27 +0000 Date: Thu, 1 Oct 2015 16:21:26 +0000 (UTC) From: "Naresh Khalasi (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-9186) Camel-Scala: Ability to add route policy in the Scala DSL based route definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Naresh Khalasi created CAMEL-9186: ------------------------------------- Summary: Camel-Scala: Ability to add route policy in the Scala DSL based route definition Key: CAMEL-9186 URL: https://issues.apache.org/jira/browse/CAMEL-9186 Project: Camel Issue Type: New Feature Components: camel-scala Affects Versions: 2.15.3 Reporter: Naresh Khalasi Priority: Minor As a developer wanting to use *quartz2* scheduler and wanting to use {{CronScheduledRoutePolicy}} to be able to configure the route start time, suspend time and resume time, I would like to do the following {code:title=routepolicysample.scala} val rpolicy = new CronScheduledRoutePolicy rpolicy.setRouteStartTime("0 30 * * *") from("quartz2://mytest/test?cron=0+0/2+*+*+*+?") .routePolicy(rpolicy).noAutoStart() .to("log:foo") {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)