camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Does Camel supports dynamic routing by getting the routing info from database
Date Wed, 07 Mar 2012 07:24:21 GMT
On Tue, Mar 6, 2012 at 4:12 PM, Donald Whytock <dwhytock@gmail.com> 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?  Thus 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 <claus.ibsen@gmail.com> 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 <johnson0233@gmail.com> 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/



-- 
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/

Mime
View raw message