Notification Action Configuration
The notification action configuration is follows:
Add Action
- Click Add Action.
- Edit the following action attributes:
Action Attributes
-Name Description Notification type Dampening Criteria (Optional) Action identifier Action description Select notification Specify any dampening criteria to the action - Select the Notification Parameter tab
- Select the protocol
- Enter the end-point URI. The following table shows supported protocols with syntax and example
End-Point Type URI Syntax Example JMS Queue jms:queue:<queue name> jms:queue:jeopardy.notification JMS Topic jms:topic:<topic name> jms:topic:jeopardy.notification Tibbr tibbr://<hostname:port> tibbr://xyz.tibbr.com SMTP smtp://<hostname:port> smtp://smtp.xyz.com:25 SMTPS smtps://<hostname:port> smtps://smtp.xyz.com:465 File file://<filepath> file:///opt/notification - Select the message type for the notification. The following table shows the protocol and supported out message type
Protocol OutBound Message Type JMS plainStringOutMessage jsonMessage javabean xmlOutMessage tibbr plainStringOutMessage SMTP plainStringOutMessage xmlOutMessage SMTPS plainStringOutMessage xmlOutMessage File plainStringOutMessage jsonMessage javabean xmlOutMessage The following table shows supported out message type:
OutBound Message Type Description plainStringOutMessage The notification message in plain string jsonMessage The notification message in the form of a JSON object javabean The notification message in the form of a javabean object xmlOutMessage The notification message in the form of an XML string -
Edit the parameters information for the selected protocol. The following table shows the protocol and the respective parameters configuration required:
- Edit Template to configure
plainStringOutMessage
content using Template Builder. Click the icon mentioned in the following image in the Template tab to open the Template Builder window:Template - The following is the Template Builder window, which has all the notifications parameters listed to configure a template for notification messages.
Template Builder Notifications
- Click Save to save the template content in action.
- Click Test Action to verify the action created is valid. If there is no error, the
Test Connection Successful
message is displayed.
If there is an error respective to the error message is displayed. The following table shows error messages, which are displayed: