Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.InvokeListener Method

Invokes the specified listener: either as standard NMS MessageListener or (preferably) as Spring SessionAwareMessageListener.

[Visual Basic]
Protected Overridable Sub InvokeListener( _
   ByVal session As ISession, _
   ByVal message As IMessage _
)
[C#]
protected virtual void InvokeListener(
   ISession session,
   IMessage message
);

Parameters

session
The session to operate on.
message
The received message.

Exceptions

Exception Type Condition
NMSException If thrown by NMS API methods.

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Nms.Listener Namespace