JMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.
| Exception Type | Condition |
|---|---|
| MessageException | if the JMS provider fails to set the message expiration due to some internal error. |
IMessage Interface | WebLogic.Messaging Namespace