Chapter 1. Intelligent Notification Services 41
Files\WebSphere\INS. Sametime and SMTP should be available as delivery
channels. If you see lines that have been commented out in this file, you will
need to configure these channels as described in 1.3.1, “Channel adapter” on
page 12.
1.6.1 Stock example
This scenario sends notifications to a user named Christian about stocks when
those stocks have reached a specific limit. The user has specified three delivery
channels: e-mail, BlackBerry, and the Message Center.
The stock price is simulated by the sample stock feed application, which is part of
the Intelligent Notification Services. The stock price information is stored in an
XML file. The application reads this file and sends the data to the Subscription
Manager.
If the stock price is less than $50, a notification message is sent to the Message
Center. If the stock price is higher than $100, a notification message is sent to all
three delivery channels.
First, we configure the delivery channels as necessary (for example, supplying
which e-mail address or BlackBerry PIN should be used). After that, we configure
the stock subscription by specifying which stock should be monitored and at
which price the user should be informed. Finally, we configure the sample stock
feed application to send the stock information to the Subscription Manager.
Configuring delivery channels
1. Log in to the WebSphere Everyplace Access portal as user Christian.
2. Select Intelligent Notification
→ Setup → My Delivery Channels. The
screen shown in Figure 1-26 appears.
Figure 1-26 Add a new e-mail delivery channel
3. Click Add delivery channel. The window shown in Figure 1-27 on page 42
appears.
4. Enter the name of this channel. This name is used later to specify which
notification should be sent to which delivery channel. We use e-mail in this
scenario.