Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractMessageListenerContainer.DoInvokeListener(ISessionAwareMessageListener, ISession, IMessage) Method

Invoke the specified listener as Spring SessionAwareMessageListener, exposing a new NMS 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 IMessage _
)
[C#]
protected virtual void DoInvokeListener(
   ISessionAwareMessageListener listener,
   ISession session,
   IMessage message
);

Parameters

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