setJMSExpiration
public void setJMSExpiration(long expiration) throws JMSException;
Sets the message's expiration value.
Any value set using this method is ignored when the message is sent, but this method can be used to change the value in a received message.
- Parameters
- expiration - the message's expiration time.
- Exceptions
- JMSException - if an internal error occurs.
uj26760_