Notifier properties file

Properties for Notifiers, gateways, and carriers can be stored in the ml_property MobiLink system table or in the Notifier properties file. See Setting properties.

The Notifier properties file is a text file. It can have any name. The easiest way to create this file is to alter the template, template.notifier, located in samples-dir\MobiLink\. (For information about samples-dir, see Samples directory.)

You can export the properties from the ml_property table into your Notifier properties file. To do this, connect to the MobiLink plug-in in Sybase Central, right-click the Notification folder, and choose Export Settings. The exported file may be copied to a different location and used to easily configure a Notifier there.

You can have several Notifier property files. To identify the properties file you want to use, specify the name and location when you start mlsrv11 with the -notifier option. Following is a partial mlsrv11 command line:

mlsrv11 ... -notifier "c:\CarDealer.notifier"

For information about how properties are read if you do specify a properties file on the command line, see Setting properties in more than one place.

A Notifier properties file can configure and start multiple Notifiers and multiple gateways. You provide a name for each Notifier and gateway that you want to define.

Notifier properties are normally entered on one line, but you can use the backslash ( \ ) as a line continuation character.

The backslash is also an escape character. You can use the following escape sequences in your property settings:

Escape sequence

Description

\b

\u0008: backspace, BS

\t

\u0009: horizontal tab, HT

\n

\u000a: linefeed, LF

\f

\u000c: form feed, FF

\r

\u000d: carriage return, CR

\"

\u0022: double quote, "

\'

\u0027: single quote, '

\\

\u005c: backslash, \

\uhhhh

Unicode character (hexadecimal)

\xhh

\xhh: ASCII character (hexadecimal)

\e

\u001b: Escape, ESC

Example

For a fully commented sample Notifier properties file, see samples-dir\MobiLink\template.notifier. (For information about samples-dir, see Samples directory.)

Note

If you want to use the default SYNC gateway, you cannot store Notifier configuration settings in this properties file. You must store them in the database. See Setting properties.