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

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

  • msg   The message.

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


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


True if and only if the operation succeeded.