]
Mario Fusco updated DROOLS-4200:
--------------------------------
Sprint: 2019 Week 26-28
Design and implement new DataSources API
----------------------------------------
Key: DROOLS-4200
URL:
https://issues.jboss.org/browse/DROOLS-4200
Project: Drools
Issue Type: Task
Components: core engine
Reporter: Mario Fusco
Assignee: Mario Fusco
Priority: Major
We need 2 distinct DataSources:
* DataStream with only an append operation
* DataStore with all 3 WMA operations (has to return a FH)
Each RuleUnit will have a mailbox. When a RuleUnit is executed for the first time all
data in its DataSources are flushed into its mailbox (wrapped in Commands). Then, when the
RuleUnit is quiescent, it remains subscribed to its DataSources so that all new operation
performed on them get also automatically flushed into its mailbox.