I'm not sure how the rete is modified and if the modifications are
synchronized with any ongoing operation.
If you want to make sure that the rete is modified when your application is
in a "safe-point", then you will need to turn off ResourceChangeMonitor
service and call its scan() method manually.
We are already doing that in some of Kagent's tests. You can take a look to
these 2 classes:
Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
That’s good news – thanks again!
-- Jamie
------------------------------
*From:* Wolfgang Laun-2 [via Drools] [mailto:ml-node+[hidden
email]<http://user/SendEmail.jtp?type=node&node=2953003&i=0>]
*Sent:* Tuesday, May 17, 2011 11:41 AM
*To:* Jamie Shaw
*Subject:* Re: [rules-users] Effect of KnowledgeAgent reload on currently
running rules
IIRC, for stateless sessions only the next session you create from
the updated RuleBase is affected.
-W
On 17 May 2011 15:52, Jamie <[hidden
email]<http://user/SendEmail.jtp?type=node&node=2952942&i=0>>
wrote:
Thanks for pointing me to that thread, Wolfgang - very interesting
discussion. It confirms my fear, at least for stateful sessions. Do you
know if it's true for stateless sessions as well?
--
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
[hidden email] <
http://user/SendEmail.jtp?type=node&node=2952942&i=1>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email] <
http://user/SendEmail.jtp?type=node&node=2952942&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
------------------------------
*If you reply to this email, your message will be added to the discussion
below:*
http://drools.46999.n3.nabble.com/rules-users-Effect-of-KnowledgeAgent-re...
To unsubscribe from [rules-users] Effect of KnowledgeAgent reload on
currently running rules, click here.
------------------------------
View this message in context: RE: [rules-users] Effect of KnowledgeAgent
reload on currently running
rules<http://drools.46999.n3.nabble.com/rules-users-Effect-of-Knowledg...
Sent from the Drools: User forum mailing list
archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.htm...
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users