Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISessionAwareMessageListener Interface

Variant of the standard EMS MessageListener interface, offering not only the received Message but also the underlying Session object. The latter can be used to send reply messages, without the need to access an external Connection/Session, i.e. without the need to access the underlying ConnectionFactory.

For a list of all members of this type, see ISessionAwareMessageListener Members .

[Visual Basic]
Public Interface ISessionAwareMessageListener
[C#]
public interface ISessionAwareMessageListener

Types that implement ISessionAwareMessageListener

Type Description
MessageListenerAdapter Message listener adapter that delegates the handling of messages to target listener methods via reflection, with flexible message type conversion. Allows listener methods to operate on message content types, completely independent from the EMS API.

Remarks

Supported by Spring's SimpleMessageListenerContainer as direct alternative to the standard MessageListener interface.

Requirements

Namespace: Spring.Messaging.Ems.Listener

Assembly: Spring.Messaging.Ems (in Spring.Messaging.Ems.dll)

See Also

ISessionAwareMessageListener Members | Spring.Messaging.Ems.Listener Namespace