getJMSTimestamp
public long getJMSTimestamp() throws JMSException;
Gets the message timestamp.
The JMSTimestamp header field contains the time a message was handed to a provider to be sent. It is not the time the message was actually transmitted because that might occur later due to transactions or other client-side queueing of messages.
When a message is sent, JMSTimestamp is ignored. When the send method returns, it contains a time somewhere between the call and the return. It is in the format of a normal Java™ millisecond time value.
- Returns
- the message timestamp
- Exceptions
- JMSException - if an internal error occurs.
uj26590_