Thanks for the reply Mark.
 
I've raised a JIRA (JBRULES-1067) for this issue
 
Shahad
 

 
On 8/8/07, Mark Proctor <mproctor@codehaus.org> wrote:
It seems that is not currently possible, please open a jira and I'll see if this can be corrected for 4.0.1

mark
Shahad Ahmed wrote:
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

 

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users