Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerAdapter.OnMessage Method

Standard JMS {@link MessageListener} entry point.

Delegates the message to the target listener method, with appropriate conversion of the message arguments

Overload List

Standard JMS {@link MessageListener} entry point. Delegates the message to the target listener method, with appropriate conversion of the message arguments

public void OnMessage(IMessage)

Spring ISessionAwareMessageListener entry point. Delegates the message to the target listener method, with appropriate conversion of the message argument. If the target method returns a non-null object, wrap in a NMS message and send it back.

public void OnMessage(IMessage,ISession)

See Also

MessageListenerAdapter Class | Spring.Messaging.Nms.Listener.Adapter Namespace