Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISessionAwareMessageListener.OnMessage Method

Callback for processing a received NMS message. Implementors are supposed to process the given Message, typically sending reply messages through the given Session.

[Visual Basic]
Public Sub OnMessage( _
   ByVal message As IMessage, _
   ByVal session As ISession _
)
[C#]
void OnMessage(
   IMessage message,
   ISession session
);

Parameters

message
the received NMS message
session
the underlying NMS Session

See Also

ISessionAwareMessageListener Interface | Spring.Messaging.Nms.Listener Namespace