[rules-users] Cannot set RuleBase configuration options using RuleAgent

Shahad Ahmed shahad.ahmed2 at gmail.com
Wed Aug 8 06:30:46 EDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070808/19301a11/attachment.html 


More information about the rules-users mailing list