Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.DoReceive(ISession, IMessageConsumer) Method

Receive a message.

[Visual Basic]
Protected Overridable Overloads Sub DoReceive( _
   ByVal session As ISession, _
   ByVal consumer As IMessageConsumer _
)
[C#]
protected virtual IMessage DoReceive(
   ISession session,
   IMessageConsumer consumer
);

Parameters

session
The session to operate on.
consumer
The consumer to receive with.

Return Value

The Message received, or

null
if none

See Also

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