[rules-users] Refreshing rules

Lindy hagan lindyhagan at gmail.com
Tue Nov 24 16:11:01 EST 2009


I am loading rules from database and it can be updated using GUI. Can
KnowledgeAgent be used to refresh rules?

KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "MyAgent"
);
kagent.applyChangeSet( ResourceFactory.newInputStreamResource(stream));
KnowledgeBase kbase = kagent.getKnowledgeBase();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091124/8db8b2dc/attachment.html 


More information about the rules-users mailing list