Here you can find some tests related to KnowledgeAgent: <a href="https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/test/java/org/drools/agent">https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/test/java/org/drools/agent</a><br>

<br>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:<br>

<br>ResourceFactory.getResourceChangeNotifierService().start();<br>ResourceFactory.getResourceChangeScannerService().start();<br><br>Best Regards, <br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>

- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">2011/2/24 vamshidhar reddy chitti <span dir="ltr">&lt;<a href="mailto:chvreddy2001@yahoo.de">chvreddy2001@yahoo.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi All,<div><br></div><div>I was trying to get going with KnowledgeAgent and trying to understand how rules changes at runtime.</div>

<div>Can anyone provide me a example or a basic tutorial for changing the rules at runtime so the knowledgebase is recreated. </div><div>Any pseudocode can also be helpful.</div><div><br></div><div>I tried to find googling, but there is only theory which is a bit complicated.</div>

<div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Regards</div><div>Vamshidhar</div></td></tr></tbody></table><font color="#888888"><br></font><br>_______________________________________________<br>


rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>