Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession.CreateConsumer(IDestination, String, TimeSpan) Method

Creates the consumer, potentially returning a cached instance.

[Visual Basic]
Public Overloads Sub CreateConsumer( _
   ByVal destination As IDestination, _
   ByVal selector As String, _
   ByVal requestTimeout As TimeSpan _
)
[C#]
public IMessageConsumer CreateConsumer(
   IDestination destination,
   string selector,
   TimeSpan requestTimeout
);

Parameters

destination
The destination.
selector
The selector.
requestTimeout
The request timeout.

Return Value

A message consumer.

See Also

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