A message handler is a MobiLink 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 preprocessed, 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 MobiLink Listener polls the MobiLink server for push notifications.
Options Options allow you to control remote settings, such as delivery and action confirmation.
You can create a message handler with the dblsn -l option. Multiple message handlers can be specified.
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|