Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.InvokeListener Method

Invokes the specified listener: either as standard EMS MessageListener or (preferably) as Spring ISessionAwareMessageListener.

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

Parameters

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

Exceptions

Exception Type Condition
EMSException If thrown by EMS API methods.

See Also

AbstractMessageListenerContainer Class | Spring.Messaging.Ems.Listener Namespace