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 F29A3D342 for ; Mon, 26 Nov 2012 14:02:09 +0000 (UTC) Received: (qmail 78342 invoked by uid 500); 26 Nov 2012 14:02:09 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 78151 invoked by uid 500); 26 Nov 2012 14:02:09 -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 78132 invoked by uid 99); 26 Nov 2012 14:02:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 14:02:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 14:02:03 +0000 Received: by mail-lb0-f173.google.com with SMTP id c1so7273356lbg.32 for ; Mon, 26 Nov 2012 06:01:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=8h5IvTa4UIRECcyQmVLLi2Bv8cpafeVgOakcqz8HZaQ=; b=APZ8HuhzcfIv5TMWNVAYvKqe45ai30aMk9Rc6vt8Eu7BDrtK4YLeoYeOdL05Oxvo6q QXo1khTT5tgfL5FOVzoY5SCh5FJt+Y3c43/sMRGcaOfj3r2g45dIBSaR/rzaUZb1KKUl p3JZqAChilXaohiA3nL58F+Vgn6BjD1a6PVuXObNrJfGzcxe97SUs1y+UioeR0TFrFtB 2QwdFIzlzyfjskX4deRiolBdmDsH2xIUtFW5viitmmuC0Oyh94gC7ErDalZkWyJ0NkfX cWWQlU++XX2918u+kOcC1XZyb7mPfO5pcho/x6op8DMkZz6diBGgLEQJd1rHpWkMF/bB Bo6g== Received: by 10.152.111.68 with SMTP id ig4mr11282493lab.50.1353938502698; Mon, 26 Nov 2012 06:01:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.103.129 with HTTP; Mon, 26 Nov 2012 06:01:22 -0800 (PST) In-Reply-To: References: From: Claus Ibsen Date: Mon, 26 Nov 2012 15:01:22 +0100 Message-ID: Subject: Re: How to avoid starting a route multiple times? To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 26, 2012 at 2:36 PM, wrote: > Hello Camel experts > I have a scheduled route that runs every few minutes to do some background > work. If for whatever reason the route takes longer than expected, the > schedule may start another execution of the route. > Is there an easy way to say that the route is not started again, if it is > still running? > How do you schedule the routes to run? > Thanks > Klaus > > -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen