Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession.CreateDurableSubscriber(Topic, String, String, Boolean) 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, _
   ByVal selector As String, _
   ByVal noLocal As Boolean _
) _
    Implements ISession.CreateDurableSubscriber
[C#]
public ITopicSubscriber CreateDurableSubscriber(
   Topic destination,
   string subscription,
   string selector,
   bool noLocal
);

Parameters

destination
The destination.
subscription
The name of the durable subscription.
selector
The selector.
noLocal
if set to true [no local].

Return Value

A message consumer

Implements

ISession.CreateDurableSubscriber

See Also

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