The general design is based on a task and triggers, there are two event sources at the moment, the clock (1 min intervals), and the file system. When either event source is raised, the trigger gets to decide what to do with it, it can accept / reject the event. If it accept the event, it call its task (I have a task set as well, so I can call several tasks in order). Each task is running on queued on a worker thread until completion, then it is goes away. If an exception is thrown, the trigger error task is raised.
In this case, I am using Windsor to configure all of this, I got around to 19 XML Files that defined ~8 main triggers and associated work flow before I re-wrote this in C# and Boo. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > hammett > Sent: Friday, September 15, 2006 4:17 AM > To: [email protected] > Subject: Re: [Castle-users] Importing Data via XML > > Did it apply some principles of parallelization? :-) Check the google's > mapreduce paper, that's cool stuff, awfully difficult to test, but > still fun to be involved with. > > On 9/15/06, Ayende Rahien <[EMAIL PROTECTED]> wrote: > > It is actually pretty easy to build a windows service that can be > > configured to execute work (using Windsor for adding new stuff). > > -- > Cheers, > hammett > http://hammett.castleproject.org/ > > ----------------------------------------------------------------------- > -- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > CastleProject-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/castleproject-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
