Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageProducer.TimeToLive Property

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

[Visual Basic]
Public MustOverride Property TimeToLive() As Long
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public long TimeToLive { public get; public set; }

Property Value

The message time to live in milliseconds; zero is unlimited

Remarks

Time to live is set to zero by default.

See Also

IMessageProducer Interface | Spring.Messaging.Ems.Common Namespace