[rules-users] ResourceChangeNotifier and subscribeResourceChangeListener()

Jaroslaw Kijanowski kijanowski at gmail.com
Mon Jun 8 05:55:40 EDT 2009


Hi,
  maybe this helps:
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html_single/index.html#d0e1123

"Resource scanning is not on by default, it's a service and must be 
started, and the same is true for notification. Both can be done via the 
ResourceFactory."

Have a look at "Example 3.19. Starting the Scanning and Notification 
Services"

Cheers,
  Jarek

Andrew Nguyen wrote:
> I am using Guvnor and have configured a change-set.xml to look towards 
> http://..../LATEST.  I would like to add a listener to 
> ResourceChangeNotifier that will respond to detected changes.  I 
> implemented the ResourceChangeListener interface and have added it via 
> the subscribeResourceChangeListener() but my resourcesChanged() function 
> never seems to be called.  I'm wondering if my assumption and usage of 
> everything is correct...
> 
> Thanks,
> Andrew
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list