Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » QAnywhere » QAnywhere Java API Reference » ianywhere.qanywhere.client package » Interface QAMessage

getDoubleProperty method Next Page

getExpiration method


Synopsis

java.util.Date ianywhere.qanywhere.client.QAMessage.getExpiration()
throws QAException

Throws
Remarks

Returns the message's expiration value, or null if the message does not expire or has not yet been sent.

When a message is sent, the expiration is left unassigned. After the send operation completes, it holds the expiration time of the message.

This is a read-only property because the expiration time of a message is set by adding the time-to-live argument of QAManagerBase.putMessageTimeToLive(String, QAMessage, long) to the current time.

See Also

putMessageTimeToLive method

Returns

The message's expiration value, or null if the message does not expire or has not yet been sent.