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 3517092C9 for ; Wed, 7 Mar 2012 07:25:11 +0000 (UTC) Received: (qmail 3189 invoked by uid 500); 7 Mar 2012 07:25:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 3118 invoked by uid 500); 7 Mar 2012 07:25: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 3085 invoked by uid 99); 7 Mar 2012 07:25:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 07:25:07 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 07:25:02 +0000 Received: by lahe6 with SMTP id e6so9151390lah.32 for ; Tue, 06 Mar 2012 23:24:41 -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:content-transfer-encoding; bh=farLjgIOAVs26VCJrnzKaPzDYeR4UReMqkhU7KGGxds=; b=M6I5rBa9zcAqin29nOzW/OrWAtXAOxKV/8ap/ZESJArJOfN61CCBmWix3yiK1KzGxG 0K/6g21Sv1xhxzeUmuKW1zWz59oLGCAvXpY7vqNRDvTBpRJqDaRe7JQQSbs47wOMW4rb GIobUyA3oBETTW1dRC5oCobFl22cuO/Xl3U/+JJKhyI++NdJd980iwesOrqmLdrsuQPD UpRXdjn9QIhMPpykgQfAfLBUFrsYUglcrBgR8XAnZdNicyLBDWfMKmRptba/uonMxIHj ffGzOSfIpcRYx8ko6ARutaNaxz9z2sU+EZ43ICTe4CZFqH6HY8ZAf0JxV3FgGeZtg70v DaFA== Received: by 10.112.11.9 with SMTP id m9mr304484lbb.60.1331105081326; Tue, 06 Mar 2012 23:24:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.107.106 with HTTP; Tue, 6 Mar 2012 23:24:21 -0800 (PST) In-Reply-To: References: <1330949539271-5537354.post@n5.nabble.com> <1330965105439-5538071.post@n5.nabble.com> <1330996469232-5539577.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 7 Mar 2012 08:24:21 +0100 Message-ID: Subject: Re: Does Camel supports dynamic routing by getting the routing info from database To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Mar 6, 2012 at 4:12 PM, Donald Whytock wrote: > Would it be useful to put a "timeout" on a route, such that it's > automatically shut down and GCed if messages don't come through it for > X amount of time? =A0Thus making dynamic routes more load-driven? > > Or would this defeat the purpose of GCing dynamic routes by adding a > timer thread? > You can build this yourself, using for example a RoutePolicy. http://camel.apache.org/routepolicy > Don > > On Tue, Mar 6, 2012 at 5:31 AM, Claus Ibsen wrote= : >> Hi >> >> There is also the dynamic router EIP >> http://camel.apache.org/dynamic-router >> >> >> >> On Tue, Mar 6, 2012 at 2:14 AM, johnson0233 wrot= e: >>> Thanks Guys, now i am getting the idea of dynamic routing, and my new >>> question here is, if i have a central routing manager which can route t= he >>> message based on rules stores in database, and how could this "routing >>> manager" work with these communication adapters such as ftp, http? As f= ar as >>> i know, ftp component can be triggered if there is new file arrived at = a >>> specific folder, and how can "route manager" be triggered or how can "r= oute >>> manager" take responses(retrieve routing info from database for this ne= w >>> file arrived)? Thanks a lot in advance! >>> >>> -- >>> View this message in context: http://camel.465427.n5.nabble.com/Does-Ca= mel-supports-dynamic-routing-by-getting-the-routing-info-from-database-tp55= 37354p5539577.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> -- >> Claus Ibsen >> ----------------- >> FuseSource >> Email: cibsen@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus, fusenews >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/