The QAnywhere Notifier is created by MobiLink setup scripts and is started when you run the MobiLink server with the -m option. The QAnywhere Notifier is called QAnyNotifier_client.
QAnyNotifier_client uses the defaults described in MobiLink Notification Properties, with the following exceptions:
The gui property is set to off, meaning that the Notifier dialog is not displayed on the computer where the Notifier is running.
The enable property is set to no, meaning that you have to run mlsrv10 with the -m option to start the Notifier.
The poll_every property is set to 5, which means that the Notifier will poll every five seconds to see if a push notification needs to be sent.
You can change the following Notifier properties:
resend interval in the request_cursor property
time to live in the request_cursor property
Other than the three properties listed here, you should not change any Notifier properties. Do not change any other columns in the request_cursor.
You can change the default polling interval of QAnyNotifier_client by changing the value 5 in the following code and running it against your consolidated database:
CALL ml_add_property( 'SIS', 'Notifier(QAnyNotifier_client)', 'poll_every', '5' )
See poll_every property.
The QAnywhere Notifier contains a default request_cursor. The request_cursor determines what information is sent in a push request, who receives the information, when, and where. You should not change any of the defaults except the resend interval and time to live. The resend interval specifies that an unreceived push notification should be resent every 5 minutes by default. The time to live specifies that an unreceived push notification will be resent for 3 hours by default. In most cases, these defaults are optimal. Following is the default request_cursor that is provided with QAnyNotifier_client:
SELECT u.user_id, ''Default-DeviceTracker'', ''qa'', u.name, u.name, ''5M'', ''3H'' FROM ml_qa_notifications u WHERE EXISTS( SELECT * FROM ml_listening l WHERE l.name = u.name AND l.listening = ''y'')
For more information about the columns in the request_cursor, see Creating the push request table.
You can change the resend interval from the default of 5 minutes by changing the value 5M in the following code. You can change the time to live default of 3 hours by changing the value 3H.
CALL ml_add_property( 'SIS', 'Notifier(QAnyNotifier_client)', 'request_cursor', 'select u.user_id, ''Default-DeviceTracker'', ''qa'', u.name, u.name, ''5M'', ''3H'' FROM ml_qa_notifications u WHERE EXISTS( SELECT * FROM ml_listening l WHERE l.name = u.name AND l.listening = ''y'')' )
For more information, see request_cursor property.