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

Mark Proctor mproctor at codehaus.org
Wed Aug 8 06:52:10 EDT 2007


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070808/5ae0a5f3/attachment.html 


More information about the rules-users mailing list