Uploaded image for project: 'Guvnor'
  1. Guvnor
  2. GUVNOR-886

Allow RuleAgent to take a RuleBaseConfiguration to configure the RuleBase it creates

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: drools-4.0.0
    • Fix Version/s: drools-4.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows XP, Sun JRE 1.5_09

      Description

      Extend the API to allow a RuleAgent to use a RuleBaseConfiguration object to configure the RuleBase it creates. For example, this will allow a user to specfiy options like Sequental mode etc when creating a RuleBase using a RuleAgent.

      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(s) 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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mark.proctor Mark Proctor
                Reporter:
                shahad Shahad Ahmed
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: