void ianywhere.qanywhere.client.QAManagerBase.putMessageTimeToLive( String address, QAMessage msg, long ttl ) throws QAException
address The address of the message specifying the destination queue name.
msg The message to put.
ttl The delay, in milliseconds, before the message expires if it has not been delivered. A value of 0 indicates the message does not expire.
Prepares a message to send to another QAnywhere client.
This method inserts a message and a destination address into your local message store. The time of message transmission depends on QAnywhere Agent transmission policies. However, if the next message transmission time exceeds the given time-to-live value, the message expires.
The address takes the form 'id\queue-name', where 'id' is the destination message store id and 'queue-name' identifies a queue that is used by the destination QAnywhere client to listen for or receive messages.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |