Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.DoReceive(ISession, Destination, String) Method

Receive a message.

[Visual Basic]
Protected Overridable Overloads Sub DoReceive( _
   ByVal session As ISession, _
   ByVal destination As Destination, _
   ByVal messageSelector As String _
)
[C#]
protected virtual Message DoReceive(
   ISession session,
   Destination 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

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace | EmsTemplate.DoReceive Overload List