9.3. Activating Sequential Mode

Procedure 9.1. Task

  1. Start a stateless session.
  2. The sequential mode will be turned off by default. To turn it on, call RuleBaseConfiguration.setSequential(true). Alternatively, set the rulebase configuration property drools.sequential to true.
  3. To allow sequential mode to fall back to a dynamic agenda, call setSequentialAgenda with SequentialAgenda.DYNAMIC.
  4. Optionally, set the JBossRules.sequential.agenda property to sequential or dynamic.