Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession.CreateDurableSubscriber(Topic, String) Method

Creates the durable consumer, potentially returning a cached instance.

[Visual Basic]
Public NotOverridable Overloads Sub CreateDurableSubscriber( _
   ByVal destination As Topic, _
   ByVal subscription As String _
) _
    Implements ISession.CreateDurableSubscriber
[C#]
public ITopicSubscriber CreateDurableSubscriber(
   Topic destination,
   string subscription
);

Parameters

destination
The destination.
subscription
The name of the durable subscription.

Return Value

A message consumer

Implements

ISession.CreateDurableSubscriber

See Also

CachedSession Class | Spring.Messaging.Ems.Connections Namespace | CachedSession.CreateDurableSubscriber Overload List