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.