Triggers a synchronization of messages with the MobiLink server.
Normally, message synchronization is handled by the QAnywhere Agent. However, if the synchronization policy is on demand, then it is the application's responsibility to trigger the synchronization of messages. You can do so using this stored procedure. The trigger does not take effect until the current transaction is committed.
In the following example, a message is sent and the transmission of the message is immediately initiated:
begin declare @msgid varchar(128); set @msgid = ml_qa_createmessage(); call ml_qa_settextcontent( @msgid, 'my simple message' ); call ml_qa_putmessage( @msgid, 'clientid\queuename' ); call ml_qa_triggersendreceive(); commit; end
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|