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 Notifier properties, with the following exceptions:
You can change the following Notifier properties:
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 is 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.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|