[rules-users] fact updates with query-only usage of Drools

Andras Nagy andras.istvan.nagy at gmail.com
Fri Jun 14 03:10:36 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130614/dd85c06d/attachment.html 


More information about the rules-users mailing list