Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.Persistent Property

Sets a value indicating whether message delivery should be persistent or non-persistent

[Visual Basic]
Public Overridable Property Persistent() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public virtual bool Persistent { public get; public set; }

Property Value

true if [delivery persistent]; otherwise, false.

Remarks

This will set the delivery to persistent or non-persistent

Default it "true" aka delivery mode "PERSISTENT".

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace