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@intellidata.net