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 BEC8418CAA for ; Sat, 5 Dec 2015 06:50:17 +0000 (UTC) Received: (qmail 25637 invoked by uid 500); 5 Dec 2015 06:50:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 25597 invoked by uid 500); 5 Dec 2015 06:50:17 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 82346 invoked by uid 99); 4 Dec 2015 14:42:19 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.314 X-Spam-Level: ** X-Spam-Status: No, score=2.314 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Date: Fri, 4 Dec 2015 07:42:08 -0700 (MST) From: sekaijin To: users@camel.apache.org Message-ID: <1449240128573-5774681.post@n5.nabble.com> In-Reply-To: References: Subject: Re: Advice: how to shut down route after specified time MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi you can use camel-timer or camel-quartz and controlbus http://camel.apache.org/timer.html http://camel.apache.org/quartz.html http://camel.apache.org/controlbus-component.html something like: from("timer://foo?fixedRate=true&period=60000&repeatCount=1"). to("controlbus:route?routeId=foo&action=stop"); Bye -- View this message in context: http://camel.465427.n5.nabble.com/Advice-how-to-shut-down-route-after-specified-time-tp5774672p5774681.html Sent from the Camel - Users mailing list archive at Nabble.com.