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
On 14/06/2013, Andras Nagy andras.istvan.n...@gmail.com wrote:
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
Hi Wolfgang,
How else would the engine know when to reevaluate LHSs?
Well, the user manual is clear about the LHS of _rules_ being evaluated at
assertion time, indeed. However I did not find information about this
matter regarding _queries_. Sorry if I missed something, but the manual is
mostly
Hello everyone,
recently I'm using Drools in a multi-threaded environment.
Since then I get sometimes RuntimeExceptions like this:
Exception in thread Thread-10 java.lang.RuntimeException: Exception jitting:
getConcept().identifierSource.toLowerCase.contains(anatomy)
at
Can you provide a (complete) example where changing a fact object
without calling update produces a result of getQueryResults being
invoked after this change that contradicts the constraints of the
query's LHS?
-W
On 14/06/2013, Andras Nagy andras.istvan.n...@gmail.com wrote:
Hi Wolfgang,
How
Ok. I figured out how to download models from the global area (I think) but if
I upload them again, I assume they will be different from the ones in the
global area on the new server.
Is there a way to tell Guvnor that a package is using a model in the global
area in the rest interface?
Joe
Hi again,
I've solved the problem with updating Drools from 5.4 to 5.5.
I thought I'd updated it ones but seems that I worked on an older
version.
Nice Weekend to everyone.
Bojan
- Ursprüngliche Mail -
Von: Bojan Janisch bojan.jani...@scai.fraunhofer.de
An: Rules Users List
Hi All,
I'm trying to determine if it's possible to process arrays of data using Rule
Templates. An example of what I'm trying to accomplish.
Spreadsheet of rules, with one of the columns being valid colors. Valid colors
contains comma separated data and is variable length.
For example
It
OK, I have just tried this out at home on a Windows 7 computer, without a
(boring) corporate firewall.
Result: *drools-wb-6.0.0.Beta3-tomcat7.0.war install fine on Tomcat 7 and
works.*
I can't think of anything else than a firewall problem. If this GitHub
connection is required, probably a
In the spreadsheet (with class Country) you would have a column such as:
CONDITION
Country
name in ( $param )
Test whether name is one from a given set
Austria, Germany, Switzerland
France, Canada, Belgium
This is the generated rule:
rule InTest_18
when
$country:
Thanks for the reply Wolfgang.
I chose to use the template because I liked the idea of separating the rule
definition from the rule data. Just seemed intuitive to me. Overall, I'm new
to Drools, so not sure if that is the best choice or not.
I think your approach works if my spreadsheet has
If you are expanding the template with data taken from anywhere
you have the option of processing that data before you pass it
to the expander. Section 2.5.2., Expanding a Template, explains
how to do this. This is the option you have for implementing
specific processing.
The problem with data in
Thanks Wolfgang.
I think I see what you're saying. If I need to do any complex prep, simply
process it first, then build a collection of POJO objects for expansion by the
drools template.
I also understand what you're saying about spreadsheets. Most of this is just
proof of concept I'm
13 matches
Mail list logo