The PAF provides a service to send alert notifications based on gear events. For example, you might want to have an e-mail sent automatically to all members of a community when a new event is scheduled in the community’s Calendar Gear. The alert notifications can be displayed by the baseline Alerts gear or sent by e-mail. You can also create your own channels to transmit alerts. In all cases, the scenarios configured for each alert type determine who receives the alert notification.

The baseline gears have already been developed to provide some default alert behavior. If you want a gear you develop to send alerts, you need to design your gear so that it publishes Java Message Service (JMS) messages and then create a scenario that performs an action when it receives those messages. The following sections of this chapter explain how to enable this functionality:

 
loading table of contents...