Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.SubscriptionDurable Property

Gets or sets a value indicating whether the subscription is durable.

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

Property Value

true if the subscription is durable; otherwise, false.

Remarks

Set whether to make the subscription durable. The durable subscription name to be used can be specified through the "DurableSubscriptionName" property.

Default is "false". Set this to "true" to register a durable subscription, typically in combination with a "DurableSubscriptionName" value (unless your message listener class name is good enough as subscription name).

Only makes sense when listening to a topic (pub-sub domain).

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Nms.Listener Namespace