[rules-users] Knowledge Agent example

2011-02-24 Thread vamshidhar reddy chitti
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.
RegardsVamshidhar

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Knowledge Agent example

2011-02-24 Thread Esteban Aliverti
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,



Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/2/24 vamshidhar reddy chitti chvreddy2...@yahoo.de

 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
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users