Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession.CreateDurableConsumer(ITopic, String, String, Boolean) Method

Creates the durable consumer, potentially returning a cached instance.

[Visual Basic]
Public NotOverridable Overloads Sub CreateDurableConsumer( _
   ByVal destination As ITopic, _
   ByVal subscription As String, _
   ByVal selector As String, _
   ByVal noLocal As Boolean _
) _
    Implements ISession.CreateDurableConsumer
[C#]
public IMessageConsumer CreateDurableConsumer(
   ITopic 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.CreateDurableConsumer

See Also

CachedSession Class | Spring.Messaging.Nms.Connections Namespace | CachedSession.CreateDurableConsumer Overload List