Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.DoInvokeListener(ISessionAwareMessageListener, ISession, Message) Method

Invoke the specified listener as Spring ISessionAwareMessageListener, exposing a new EMS Session (potentially with its own transaction) to the listener if demanded.

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

Parameters

listener
The Spring ISessionAwareMessageListener to invoke.
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 | AbstractMessageListenerContainer.DoInvokeListener Overload List