Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Property TimeToLive As Long Get Set |
| C# |
|---|
long TimeToLive { get; set; } |
| Visual C++ |
|---|
property long long TimeToLive { long long get (); void set (long long value); } |
Return Value
the message time to live in milliseconds; zero is unlimited
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to get the time to live due to some internal error. |