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.