WebSphere Dashboard Framework - Developing a custom escalation handler for alertsAdded by Rob Flynn | Edited by Rob Flynn on January 5, 2010 | Version 11
The default Escalation Handler, AlertAgeEscalationHandler.java, implements an escalation rule based on alert age.
Follow these steps to use the Java interface EscalationHandler.java to develop a custom escalation handler.
- Write a class to implement EscalationHandler.java (for example, NewRuleEscalationHandler.java). Three abstract methods should be implemented.
- If the custom escalation handler needs special configuration data from end users, additional pages need to be developed. To change to the new escalation rules, there are some changes that need to be made to the ManageAlertsSupport.model.
- To display the new escalation rule, define a new resource key in ManageAlertsSupport.properties (for example, escalationHandler_NewRule = Escalate Based Upon New Rule). To support localization, this resource key should be defined in other language property files.
- Add a new entry in the escalationHandlers.xml file located in the WEB-INF/solutions/alerting/config directory. After adding the entry, the code should be similar to the the code fragment below.
<Label>Escalate Based Upon Alert Age</Label>
<Label>Escalate Based Upon New Rule</Label>