On 10/02/2012 22:46, apache wrote:
Mark
the first link in my previous post says something contradictory to what you
mentioned. I understand that one thread at a time can use the session just
not 2 or more threads at the same time . Is that what you meant too ?
I think you
are referring to the javadoc of one particular method, let
me know if there are others.
getStatefulKnowledgeSessions
Collection
<
http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.htm...
<
http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/StatefulKnowl...
*getStatefulKnowledgeSessions*()
Return a collection of the StatefulKnowledgeSessions that exist in this
KnowledgeBase. Be careful as sessions are not thread-safe and could be
in use elsewhere.
That is incorrect and we'll get it corrected for next release.
Mark
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Multiple-threading-tp373159...
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