WebLogic Messaging API Class Library

IMessage.JMSTimestamp Property

Gets the message timestamp.

The JMSTimestamp header field contains the time a message was handed off to a provider to be sent. It is not the time the message was actually transmitted, because the actual send may occur later due to transactions or other client-side queueing of messages.

When a message is sent, JMSTimestamp is ignored. When the Send or Publish method returns, it contains a time value somewhere in the interval between the call and the return. The value is in the format of a normal millis time value in the Java programming language.

 JMSTimestamp {get;}

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to get the timestamp due to some internal error.

See Also

IMessage Interface | WebLogic.Messaging Namespace