Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D13CC0ED for ; Thu, 19 Jul 2012 13:01:32 +0000 (UTC) Received: (qmail 82967 invoked by uid 500); 19 Jul 2012 13:01:32 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 82744 invoked by uid 500); 19 Jul 2012 13:01:31 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 82716 invoked by uid 99); 19 Jul 2012 13:01:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 13:01:30 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of magnus.palmer.work@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 13:01:23 +0000 Received: by ghrr14 with SMTP id r14so3134200ghr.32 for ; Thu, 19 Jul 2012 06:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ltzsvIzenZUj1ZledgypTl6+zjP1izOmbaDYICS62UM=; b=Vm4C9FbrzmkBlhn0nnXeOrkoB4q+Ewet6nI73+Ts5e+bffu4NGUO0gghOgh4CjJuAg /qDEpMR86AQbeirNgKPd/RhxY6UebgS48NMIrgY5ro6RM274ETj/Cvy0WP4O1l+xyl4b fwsH8MDQv7shnk2ePtciBwGm04jRQ4KGH9lSGU/nGYIkjq7mbCsld5IdD+w4Ffo4n30o KYeuY3VNed35mjoiJ96UtI+ziRjkFncbK7rCigDqvesXBN4ktyakTALjEwN5vFJi7VVz Cv304pfBqczBJRzJezX4yMt52dMkMmbtxy1Ep0rYu3/ChVKN99RdGkLJbSh0MoM1n49g YOkA== MIME-Version: 1.0 Received: by 10.50.184.133 with SMTP id eu5mr5192723igc.3.1342702862403; Thu, 19 Jul 2012 06:01:02 -0700 (PDT) Received: by 10.50.82.105 with HTTP; Thu, 19 Jul 2012 06:01:02 -0700 (PDT) In-Reply-To: <1342689851192-5716240.post@n5.nabble.com> References: <1342167212122-5715992.post@n5.nabble.com> <1342179561038-5715999.post@n5.nabble.com> <1342180464192-5716001.post@n5.nabble.com> <1342246960309-5716030.post@n5.nabble.com> <1342419946296-5716063.post@n5.nabble.com> <1342689851192-5716240.post@n5.nabble.com> Date: Thu, 19 Jul 2012 15:01:02 +0200 Message-ID: Subject: Re: camel+quartz schedulers From: =?ISO-8859-1?Q?Magnus_Palm=E9r?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=14dae93403c327070c04c52e5f14 --14dae93403c327070c04c52e5f14 Content-Type: text/plain; charset=ISO-8859-1 Unless you are on a very old version the simple trigger will not fire when starting the route (the fireNow property) However if your repeat interval is small it might look like that. What I normally use is the option of delaying the start of the Quartz scheduler itself. Look for "Starting the Quartz scheduler" http://camel.apache.org/quartz.html 2012/7/19 Sudhakar.kaithepalli > Hi to all ......... > > I am using Camel and Quartz to schedule a job and in Quartz also > i > used SimpleTrigger. But the problem here is the trigger fires while we > start > the server itself, we don't want like that. It should fire on configured > time only not at initial time. > How to configure it. And the following is my configuration.......... > > > from("quartz://SchedulerJob?trigger.repeatInterval="+repeatInterval+"&trigger.repeatCount="+SimpleTrigger.REPEAT_INDEFINITELY) > > Thanks and Regards.... > > ----- > Sudhakar Kaithepalli > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-quartz-schedulers-tp5715992p5716240.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --14dae93403c327070c04c52e5f14--