Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
メッセージの優先度を設定します。
QAnywhere API では、10 レベルの優先度が定義されています。0 が最低の優先度、9 が最高の優先度を表します。クライアントは、優先度 0 ~ 4 を通常のメッセージ、優先度 5 ~ 9 を緊急度の高いメッセージとみなす必要があります。
メッセージの送信後にこのヘッダーを変更することはできません。
次の例では、優先度の高いメッセージを送信します。
begin declare @msgid varchar(128); set @msgid = ml_qa_createmessage(); call ml_qa_setpriority( @msgid, 9 ); call ml_qa_settextcontent( @msgid, 'priority content' ); call ml_qa_putmessage( @msgid, 'clientid\queuename' ); commit; end