Here you can find some tests related to KnowledgeAgent: https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/test/java/org/drools/agent
These tests show the expected behaviour of KnowledgeAgent. In the tests, the file scanning if on demand. If you want to scan resources periodically you can use ResourceChangeScannerService and ResourceChangeNotifierService: ResourceFactory.getResourceChangeNotifierService().start(); ResourceFactory.getResourceChangeScannerService().start(); Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com 2011/2/24 vamshidhar reddy chitti <[email protected]> > Hi All, > > I was trying to get going with KnowledgeAgent and trying to understand how > rules changes at runtime. > Can anyone provide me a example or a basic tutorial for changing the rules > at runtime so the knowledgebase is recreated. > Any pseudocode can also be helpful. > > I tried to find googling, but there is only theory which is a bit > complicated. > > Any help would be appreciated. > > Regards > Vamshidhar > > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
