Setting properties

Notifiers, gateways, and carriers are configured via properties. These properties can be stored in the ml_property MobiLink system table or in a Notifier properties file.

Storing properties in the database

You can store property settings in the MobiLink system table ml_property. There are two ways to do this:

  • Use the Notification tab in the MobiLink plug-in in Sybase Central.

    For more information, click Help on the Sybase Central Notifier windows.

  • Use the stored procedure ml_add_property.

    See ml_add_property system procedure.

Storing properties in a properties file

Alternatively, you can store options in a Notifier properties file. This is a text file that you can edit with a text editor. If you use the properties file, you cannot use the default SYNC gateway. See:

Setting properties in more than one place

If you specify properties in both the ml_properties table and the Notifier properties file, the settings are determined as follows:

  1. Server-initiated synchronization properties in the ml_property table in the consolidated database are loaded.
  2. If a Notifier properties file is specified with the -notifier option, the settings in this file are loaded on top of the settings from the database.

    If a Notifier properties file is not specified, and if the default configuration file is found (config.notifier), the settings in the default file are loaded on top of the settings from the database.

Changing properties

Properties are read at startup. When you change properties, you must shut down and restart the MobiLink server for them to take effect.

Properties

For a detailed list of the Notification properties you can set, see:


Notifier properties file