Wolfgang: Are the slides for your presentation online? This would be very
helpful. I have searched repeatedly for a rule design best practices
document and have only found conference agenda items on the topic but no
actual document. After more than a year of working with Drools, I have
figured out
> final Activation activation) throws
> FactException {
>
>
> try {
> this.ruleBase.readLock();
> this.lock.lock();
> .
> } finally {
> this.
2012/3/2 Matteo Cusmai
> i see that there are some other threads that insert new event and some
> others retract them.
> How is the thread model?
>
Contrary to claims made on this mailing list, StatefulKnowledgeSession is
not thread-safe (this may be due to bugs, but bottomline is: it's not
thre
Sorry to burst your bubble, but stateful knowledge sessions are most
definitely not thread-safe. I have seen hard evidence to this effect in the
form of incorrect execution results and log statements that clearly show
that two threads were interacting in unexpected ways. In a nutshell: Rule
consequ
Here is how I create StatefulKnowledgeSession instances dynamically, while
still leveraging Spring config:
[...]
Read [1,2] for background on Spring method injection and how to use it to
get a factory method for Spring-configured prototype beans without you
When you are dealing with events, the processing works a bit differently.
First, we have to clarify: Are you inserting events or plain facts? If it
has a timestamp, it has to be handled as an event. The distinction matters
because in an event-driven scenario, only events would be inserted "from
the
Edson: Thanks for the quick reply. I created these JIRA issues:
F1: Duplicate job scheduling in
org.drools.time.impl.DefaultTimerJobInstance.call()
- https://issues.jboss.org/browse/JBRULES-3284
F2: NullPointerException in
org.drools.time.impl.DefaultTimerJobInstance.compareTo(DefaultTimerJobInst
I am making extensive use of the event processing features of the Drools
rule engine. Upgrading from Drools 5.2.0.Final to Drools 5.3.0.Final broke
47 of my unit tests and also broke my functional tests. There seem to be
multiple changes in Drools 5.3.0 that cause incorrect behavior and/or break
ba
Robert Crawford wrote:
>
> Any advice on how to troubleshoot problems? I have a fairly simple set of
> rules (a couple dozen), but keep having problems with fatal exceptions.
> The most recent was:
>
> org.drools.RuntimeDroolsException: Unexpected exception executing action
> org.drools.reteoo.P
Martin A wrote:
>
> Hello,
> I'm looking for the online 5.3.0 javadocs, but can't find it... Would you
> point me to a reference?
>
I have not been able to find online (as opposed to download) javadoc for any
version of Drools after 5.1.1 either. I created an issue about that here:
https://issu
10 matches
Mail list logo