Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

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

Creates the durable consumer, potentially returning a cached instance.

[Visual Basic]
Public Overloads Sub CreateDurableConsumer( _
   ByVal destination As ITopic, _
   ByVal name As String, _
   ByVal selector As String, _
   ByVal noLocal As Boolean, _
   ByVal requestTimeout As TimeSpan _
)
[C#]
public IMessageConsumer CreateDurableConsumer(
   ITopic destination,
   string name,
   string selector,
   bool noLocal,
   TimeSpan requestTimeout
);

Parameters

destination
The destination.
name
The name.
selector
The selector.
noLocal
if set to true [no local].
requestTimeout
The request timeout.

Return Value

A message consumer

See Also

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