Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » QAnywhere » QAnywhere リファレンス » QAnywhere C++ API リファレンス » QAManagerBase クラス

 

putMessageTimeToLive 関数

構文
qa_bool QAManagerBase::putMessageTimeToLive(
  qa_const_string address,
  QAMessage * msg,
  qa_long ttl
)
パラメータ
  • address   送信先。

  • msg   メッセージ。

  • ttl   存続時間 (ミリ秒)。

備考

指定された送信先に送られるようにメッセージをキューに登録します。指定された存続時間 (ミリ秒) が設定されます。

戻り値

処理が正常終了した場合のみ true。