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.
42 IBM WebSphere Everyplace Access V5, Volume IV: Advanced Topics
5. Specify an e-mail address to where the notification should sent.
Figure 1-27 Configure e-mail delivery channel
6. Click OK.
After the e-mail delivery channel is configured, we configure the BlackBerry
delivery channel.
1. Select Intelligent Notification
Setup My Delivery Channels. The
screen shown in Figure 1-28 appears.
Figure 1-28 Add a new BlackBerry delivery channel
2. Click Add delivery channel. The window shown in Figure 1-29 on page 43
appears.
3. Enter the name of this channel. This name is used later to specify which
notification should be send to which delivery channel. We use BlackBerry in
this scenario.
Chapter 1. Intelligent Notification Services 43
4. Specify the PIN of your device.
Figure 1-29 Configure BlackBerry delivery channel
Configuring the subscriptions
To configure the subscriptions for this scenario:
1. Logged in as Christian in the WebSphere Everyplace Access portal, go to
Intelligent Notification
Setup My Subscriptions. The screen shown
in Figure 1-30 appears.
Figure 1-30 Add a new stock subscription
44 IBM WebSphere Everyplace Access V5, Volume IV: Advanced Topics
2. Click New. The window in Figure 1-31 appears.
3. Enter the following information:
–Enter CK as the stock symbol.
–Select Less than and enter 50 in the stock price (points).
–Select Always to receive a notification every time the stock price is less
than 50.
–Select All of the selected delivery channels and Default as delivery
channel.
Figure 1-31 Configure the stock subscription
Chapter 1. Intelligent Notification Services 45
4. Click OK.
5. Click New. The window in Figure 1-32 appears.
6. Enter the following information:
–Enter CK as stock symbol.
–Select Higher than and enter 100 in the stock price (points).
–Select Always to receive a notification every time the stock price is higher
than 100.
–Select All of the selected delivery channels and default, e-mail, and
BlackBerry as delivery channels.
Figure 1-32 Configure the subscription

Get IBM WebSphere Everyplace Access V5 Handbook for Developers and Administrators Volume IV: Advanced Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.