Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPeekingMessageListenerContainer.BeforeMessageReceived Method

Template method that gets called right before a new message is received, i.e. messageQueue.Receive().

[Visual Basic]
Protected Overridable Sub BeforeMessageReceived( _
   ByVal messageQueue As MessageQueue _
)
[C#]
protected virtual void BeforeMessageReceived(
   MessageQueue messageQueue
);

Parameters

messageQueue

Remarks

It allows subclasses to modify the state of the MessageQueue before receiving which maybe required when using remote queues

See Also

AbstractPeekingMessageListenerContainer Class | Spring.Messaging.Listener Namespace