[rules-users] Problem using RuleAgent

Brian Trezise Brian.Trezise at intellidata.net
Wed Jul 9 17:42:18 EDT 2008


I'm having a problem with the RuleAgent... I'm using a RuleAgent to load
rules and create a rulebase, but i'm finding that in the time it takes to
load all 30 or so files that I'm using for my rules, my main thread starts
running strings against the rules before all of the rules have been
initially loaded.

Is there an easy way to block until all rule-loading operations are
completed? This would be important for rule changes too, though not as much
so as on the initial load.

 

I'm thinking a listener sounds like the right way to go, but I'm not very
familiar with multi-threaded programming and so I don't really know how to
go about implementing that. Would somebody mind giving me a hand?



Thanks,

___________________________________________________
Brian Trezise
Staff Software Engineer
IntelliData, Inc
3173 s. uravan way
aurora, colorado 80013
T: 720.524.4864
brian.trezise at intellidata.net

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080709/3d869841/attachment.html 


More information about the rules-users mailing list