Plugins You can find out about all the publicly available Grails plugins.

Reloadable Config Plugin

  • Tags: /
  • Latest: 0.1
  • Last Updated: 08 August 2009
  • Grails version: 1.1.1 > *
  • Authors: null
0 vote
compile ":reloadable-config:0.1"




grails install-plugin reloadable-config


In your grails-app/conf/Config.groovy add

reloadable.cfgPollingFrequency = 5000
reloadable.cfgPollingRetryAttempts = 5
reloadable.cfgs = [ "file:/opt/myexternalconfigs/config.groovy"]
  1. where cfgPollingFrequency is in milli seconds i.e above e.g. configuration makes the app poll every 5 seconds for changes in external config.groovy
  2. where cfgPollingRetryAttempts is the maximum number of times plugin will try to reload the external config.groovy.
  3. where reloadable.cfgs contains the list of external configuration files that you would like to be reloaded.