On 02/09/2013, lalit2583 <lalit2583(a)gmail.com> wrote:
Hi,
We are creating different StatefulKnowledge Session for different threads
all this StatefulKnowledgeSession are created from same KnowledgeBase,
KnowledgePackage. Is this an issue ?
It should not cause a problem. Synchronisation among user objects
(facts, globals) is user's burden.
You are correct the API doesnt tells
if
StatefuleKnowledgeSession is not thread safe. If I use
StatelessKnowledgeSession will it resolve the issue ?
Possibly: a Stateless KS is discarded after an execute, so you might appear
to avoid running into whatever caused your problem, but without
removing the cause.
But as per my knowledge internally StatelessKnowledgeSession uses
StatefuleKnowledgeSession.
That's what the documentation says.
-W
Regards,
Lalit.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Concurrent-Execution-causes-Bloc...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users