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 BFD0E9B1D for ; Tue, 6 Mar 2012 15:12:39 +0000 (UTC) Received: (qmail 74624 invoked by uid 500); 6 Mar 2012 15:12:39 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 74581 invoked by uid 500); 6 Mar 2012 15:12:39 -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 74573 invoked by uid 99); 6 Mar 2012 15:12:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 15:12:39 +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 (athena.apache.org: domain of dwhytock@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 15:12:34 +0000 Received: by qcsc20 with SMTP id c20so2959974qcs.32 for ; Tue, 06 Mar 2012 07:12:14 -0800 (PST) Received-SPF: pass (google.com: domain of dwhytock@gmail.com designates 10.229.137.16 as permitted sender) client-ip=10.229.137.16; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dwhytock@gmail.com designates 10.229.137.16 as permitted sender) smtp.mail=dwhytock@gmail.com; dkim=pass header.i=dwhytock@gmail.com Received: from mr.google.com ([10.229.137.16]) by 10.229.137.16 with SMTP id u16mr3348735qct.146.1331046734328 (num_hops = 1); Tue, 06 Mar 2012 07:12:14 -0800 (PST) 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=GTNHeJu8/p53uHyHCDJyOZkEYxxy5RJPr1KroNtZ/gE=; b=whJdTljfk8H2KQl60Yz2o6P1dhEB4ht73Ii58b5vm7BAspZWmA/tXs5PzCWq7+d/AY AUMRJ+WF6fALKpGsR6TEe+5F1u+dM60zRIgb4xUqiQKjABbDXqkzct3Y1I6VbUn+348c 4JVTOIw3UnZZ3CR1PZ6exqjc6jvcKD5UKzxLi009854F3Eg0k76RZTvCpMjn/O1CCTPi Y1PD3GTJptiw6qSaUFHp4YPtRR+9FPTK7pUhsLG1q6AgshqRhwbx/EM2/UQ+fiV4It2Y HwMUbgJnd75dknlTK6bFgfWNNg9ory3mZiTNaP4qBDE0+3a1rdyrs2RMq8/XFrETcBgc T7qA== MIME-Version: 1.0 Received: by 10.229.137.16 with SMTP id u16mr2880128qct.146.1331046734208; Tue, 06 Mar 2012 07:12:14 -0800 (PST) Received: by 10.224.113.15 with HTTP; Tue, 6 Mar 2012 07:12:14 -0800 (PST) In-Reply-To: References: <1330949539271-5537354.post@n5.nabble.com> <1330965105439-5538071.post@n5.nabble.com> <1330996469232-5539577.post@n5.nabble.com> Date: Tue, 6 Mar 2012 10:12:14 -0500 Message-ID: Subject: Re: Does Camel supports dynamic routing by getting the routing info from database From: Donald Whytock To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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? Thus making dynamic routes more load-driven? Or would this defeat the purpose of GCing dynamic routes by adding a timer thread? 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 wrote: >> 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 the >> message based on rules stores in database, and how could this "routing >> manager" work with these communication adapters such as ftp, http? As far 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 "route >> manager" take responses(retrieve routing info from database for this new >> file arrived)? Thanks a lot in advance! >> >> -- >> View this message in context: http://camel.465427.n5.nabble.com/Does-Camel-supports-dynamic-routing-by-getting-the-routing-info-from-database-tp5537354p5539577.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/