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 Reference » QAnywhere C++ API reference » QAManagerBase class

 

putMessageTimeToLive function

Syntax
qa_bool QAManagerBase::putMessageTimeToLive(
  qa_const_string address,
  QAMessage * msg,
  qa_long ttl
)
Parameters
  • address   The destination.

  • msg   The message.

  • ttl   The time-to-live, in milliseconds.

Remarks

Puts a message into the queue for the given destination and a given time-to-live in milliseconds.

Returns

True if and only if the operation succeeded.