[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1995) Expose the firelimit option on the StatelessSession.
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Sat Mar 28 02:33:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor closed JBRULES-1995.
---------------------------------
Fix Version/s: 5.0.0.GA
Resolution: Out of Date
This is now possible by using the FireAllRules() command and setting the max property. Note you'll need to use this as part of the BatchExecution, and that it's use turns of the auto execution of FireAllRules()
> Expose the firelimit option on the StatelessSession.
> ----------------------------------------------------
>
> Key: JBRULES-1995
> URL: https://jira.jboss.org/jira/browse/JBRULES-1995
> Project: JBoss Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 5.0.0.M5
> Reporter: Guy Tuberson
> Assignee: Mark Proctor
> Fix For: 5.0.0.GA
>
>
> Expose the firelimit option on the StatelessSession. The reason being, is that I would like to use the sequential mode feature described in the Drools Expert documentation and to also limit the rule firing to one rule.
> Please add the following API to the StatelessSession:
> void execute(Collection collection, int fireLimit);
> StatelessSessionResult executeWithResults(Collection collection, int fireLimit);
> or add the following API that sets the fireLimit for the session:
> void setFireLimit(int fireLimit);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list