Dear All,
In a multithreaded application I plan to use Drools the following way:
-use only queries but not rules
-keep an outside reference to all facts inserted into the working memory,
and keep modifying the facts after they were inserted
-use locks synchronizing outside fact changes and Drools query executions
(happening parallelly on other threads), to make sure that when the queries
are executed, the facts are always in a consistent state
Given that the application only uses queries (and no rules), I wonder if
there is a need to notify the engine of the fact changes (e.g.
workingMemory.update(...) etc.).
Could someone confirm that?
Thank you,
Andras