Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedMessageProducer.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 NotOverridable Property TimeToLive() As Long _
    Implements IMessageProducer.TimeToLive

   Public Get
   End Get
   Public Set
   End Set
End Property
public long TimeToLive { public get; public set; }

Property Value

The message time to live in milliseconds; zero is unlimited




Time to live is set to zero by default.

See Also

CachedMessageProducer Class | Spring.Messaging.Ems.Connections Namespace