Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the message's expiration value, or null if the message does not expire or has not yet been sent.
java.util.Date QAMessage.getExpiration() throws QAException
The message's expiration value, or null if the message does not expire or has not yet been sent.
Thrown if there is a problem getting the expiration.
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.