[
https://jira.jboss.org/jira/browse/JBRULES-2375?page=com.atlassian.jira.p...
]
Paul O'Riordan commented on JBRULES-2375:
-----------------------------------------
I've managed to resolve this by removing the synchronization around actionQueue (in
executeQueuedActions & queueWorkingMemoryAction methods) and changing
actionQueue's type to a ConcurrentLinkedQueue.
Drools hangs when events are retracted
--------------------------------------
Key: JBRULES-2375
URL:
https://jira.jboss.org/jira/browse/JBRULES-2375
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core (fusion)
Affects Versions: 5.0.1.FINAL
Environment: Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Microsoft Windows XP [Version 5.1.2600]
Intel (R) Xeon (R) CPU E5405 @ 2.00GHz (Quad Core)
Reporter: Paul O'Riordan
Assignee: Edson Tirelli
Priority: Blocker
Fix For: 5.1.0.M2
Attachments: Main.java, stacktrace.txt
Using a StatefulKnowledgeSession (stream mode). Drools hangs when events are retracted
from the session. Running the attached code results in drools hanging almost immediately.
Adding the @expires property to the event declaration, e.g.
declare Foo
@role (event)
@expires (10s)
end
causes drools to hang after the specified expiry time, i.e. 10 seconds.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira