DescriptionSend application notifications using a wide range of protocols via JAlarms.
UsageThis plugin adds a bean alarmer of type
com.solab.alarms.AlarmSenderto the application's ApplicationContext. Alarm channels can be configured as any other beans would, inside the
src/spring/resources.groovyfile.It will also inject the following dynamic methods to controllers and services by default:
- sendAlarm(String msg) - sends an alarm to all configured channels
- sendAlarm(String msg, String source) - sends an alarm to all configured channels that have
Dynamic method injectionDynamic methods will be added to controllers and services by default. You can change this setting by adding a configuration flag in the
grails.jalarms.injectInto = ["Controller", "Service", "Routes"]