Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISessionAwareMessageListener.OnMessage Method

Callback for processing a received EMS 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 Message, _
   ByVal session As ISession _
)
[C#]
void OnMessage(
   Message message,
   ISession session
);

Parameters

message
the received EMS message
session
the underlying EMS Session

See Also

ISessionAwareMessageListener Interface | Spring.Messaging.Ems.Listener Namespace