[rules-users] Effect of KnowledgeAgent reload on currently running rules

Wolfgang Laun wolfgang.laun at gmail.com
Tue May 17 09:26:13 EDT 2011


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 at 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-reload-on-currently-running-rules-tp2947988p2952392.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110517/722ee588/attachment.html 


More information about the rules-users mailing list