[rules-users] Can I capture the result of an RMI call within a pattern?
lhorton
LHorton at ABCLegal.com
Thu Mar 22 14:45:20 EDT 2012
That would be a good approach for one location. My real world rules are 24
rules for 24 different locations. If I used your approach, I think I would
have to look up and insert all 24 locations for each session execution (we
use stateless sessions) in order to have the 24 setter rules work.
I am trying to avoid too many calls to the RMI service (remote database
reads), which is why I was trying to put all the work into the one rule
pattern. in my real-world rules, there are more conditions in the pattern
than just the RMI lookup, so that only one of the setter rules will fire for
each session execution.
--
View this message in context: http://drools.46999.n3.nabble.com/Can-I-capture-the-result-of-an-RMI-call-within-a-pattern-tp3848873p3849422.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list