Thanks, Esteban. I'm going to need to do some testing. I'll post back my
findings...
-- Jamie
________________________________
From: Esteban [via Drools] [mailto:ml-node+2961373-771292982-397044@n3.nabble.com]
Sent: Thursday, May 19, 2011 9:41 AM
To: Jamie Shaw
Subject: Re: [rules-users] Effect of KnowledgeAgent reload on currently running rules
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:
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test...
<
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test...
<
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test...
Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
2011/5/17 Jamie <[hidden
email]</user/SendEmail.jtp?type=node&node=2961373&i=0>>
That's good news - thanks again!
-- Jamie
________________________________
From: Wolfgang Laun-2 [via Drools] [mailto:[hidden
email]</user/SendEmail.jtp?type=node&node=2961373&i=1>[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... at
Nabble.com.
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=2961373&i=2>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=2961373&i=3>
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<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...;.
--
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.