A message handler is a Listener component that scans the message contents of a push notification to initiate an action. It can also be used to specify light weight polling options, such as the server location and the polling frequency.
Message handlers consist of the following components:
Filter keywords After a push notification is pre-processed, you can use filter keywords to scan the message contents. When a filter condition is met, an action is initiated. For example, you can specify the subject keyword to filter a message that contains a specific subject, or you can specify the sender keyword to filter messages received from a specific MobiLink server.
An action An action is initiated after filter conditions are met on a message. In a typical application, you specify an action to initiate synchronization, but you can also perform other operations. To assist with error processing, you can specify an alternative action to handle instances when the original action fails.
Poll settings Poll settings allow you to configure how the Listener polls the MobiLink server for push notifications.
Options Options allow you to control remote settings, such as delivery and action confirmation.
Some message handler options are not available on the MobiLink Listener utility for Palm devices. See Listener configuration utility for Palm devices.
You can create a message handler with the dblsn -l option. Multiple message handlers can be specified.
Working with message handlers
Advanced message handler features
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |