Does anyone know how you can set RuleBase configuration options
for a RuleBase created using the RuleAgent? The RuleAgent does not seem
to have a mechanism for passing in a RuleBaseConfiguration object to
set options like Sequention mode etc.
I know that you can set RuleBase options for all RuleBases by
setting the appropriate System properties when calling the java VM, but
it would be nice to be able to set these individually via the API for
each RuleBase created using a RuleAgent. I guess this could be done
fairly easily by adding an extra constructor to RuleAgent that takes a
RuleBaseConfiguration object -- rbConfig, say -- and in RuleAgent when
it creates a new RuleBase instead of just using
RulebaseFactory.newRuleBase() use RulebaseFactory.newRuleBase(rbConfig)
instead.
Regards,
Shahad
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users