Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将一条消息放入给定目标的队列,并指定给定的生存期,以毫秒为单位。
public virtual qa_bool putMessageTimeToLive( qa_const_string address, QAMessage * msg, qa_long ttl )
address 目标。
msg 消息。
ttl 生存期,以毫秒为单位。
当且仅当操作成功时返回 true。