<div dir="ltr"><p>Dear All,<br>In a multithreaded application I plan to use Drools the following way:<br>-use only queries but not rules<br>-keep an outside reference to all facts inserted into the working memory, and keep modifying the facts after they were inserted<br>
-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</p><div>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.). </div>
<div>Could someone confirm that?</div><p>Thank you,<br>Andras</p></div>