Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.DoReceive(ISession, IDestination, String) Method

Receive a message.

[Visual Basic]
Protected Overridable Overloads Sub DoReceive( _
   ByVal session As ISession, _
   ByVal destination As IDestination, _
   ByVal messageSelector As String _
)
[C#]
protected virtual IMessage DoReceive(
   ISession session,
   IDestination destination,
   string messageSelector
);

Parameters

session
The session to operate on.
destination
The destination to receive from.
messageSelector
The message selector for this consumer (can be
null

Return Value

The Message received, or

null
if none.

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace | NmsTemplate.DoReceive Overload List