WebLogic Messaging API Class Library

IMessage.JMSExpiration Property

Gets the message's expiration value as a long.

This field is optionally set when a message is sent

Important: When a message is sent, this field is ignored. After completion of the Send or Publish method, the field holds the expiration value set by the producer.

The value is in the format of a normal millis absolute time value in the Java programming language. which is the difference, measured in milliseconds, between a given time time and midnight, January 1, 1970 UTC. For an example of how to convert between Java millisecond timestamps and .NET times, see the API doc for IMessage.JMSTimestamp.

\xA0JMSExpiration\xA0{get;}

Exceptions

Exception TypeCondition
MessageExceptionif JMS fails to set the message expiration due to some internal error.

See Also

IMessage Interface | WebLogic.Messaging Namespace | Constants.Defaults.DEFAULT_TIME_TO_LIVE | IMessageProducer.TimeToLive | IMessage.JMSTimestamp