Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » MobiLink - Server-Initiated Synchronization » Setting up server-initiated synchronization » Listeners


Message handlers

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.

See also

Working with message handlers
Advanced message handler features