A recent thread explained that a running stateful session would indeed "see"
the KnowledgeBase update done by the KnowledgeAgent provided
newInstance is set to "false".
-W
On 17 May 2011 14:59, Jamie <jshaw(a)llbean.com> wrote:
Thanks Greg - that's what I was hoping.
Just to confirm - I should be able to cache a KnowledgeBase created by a
KnowledgeAgent with the 'drools.agent.newInstance' property set to
'false'
without seeing any unexpected results if the KnowledgeBase gets refreshed
by
the agent.
Given that, why would I ever set the 'drools.agent.newInstance' property to
'true'? It doesn't seem like it would buy me anything except extra object
creation...
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Effect-of-KnowledgeAgent-re...
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