Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7231

@Clock, @EventProcessing in RuleUnit

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.33.0.Final
    • 8.29.0.Final
    • core engine
    • None

      Issue Description:

      @Clock, @EventProcessing seem to work in Kogito but not in pure Drools RuleUnit.

      Acceptance Criteria:

      Add unit tests for them and fix if needed.

      Also add to docs.

      Additional Information:

      @SessionsPool can be technically conveyed to KieBase but actually KieSessionsPool is not used because RuleUnit creates RuleUnitInstance backed by RuleUnitExecutorImpl, not KieSession. We may introduce another pool mechanism for RuleUnitInstance, but RuleUnitExecutorImpl is lightweight than KieSession so it may not be highly demanded.

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: