we have a multi-thread test for this use case, so you can see what we are doing:
Say I want to change the loaded packages dynamically base on some
Business
logic,
is it possible to update the KnowledgeBase in rule files (not in Java) like
calling addKnowledgePackages() removeKnowledgePackage() etc.?
If it is possible, how do you make it so that the current session is updated
with the changes and re-fire for the new rules?
Or, how do you make it so that the current session is not affected but the
next session will be using the updated KnowledgeBase?
Thank you
P.S. I am using 5.5.0.Final
--
View this message in context:
http://drools.46999.n3.nabble.com/Is-it-possible-to-update-KnowledgeBase-...
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