WebLogic Messaging API Class Library

IMessageProducer.TimeToLive Property

Gets or Sets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.

Time to live is set to zero by default.

 TimeToLive {get; set;}

Property Value

Represents the message time to live in milliseconds; zero is unlimited

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to get or set the time to live due to some internal error.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | TimeToLive | DEFAULT_TIME_TO_LIVE