Spring.Messaging.Amqp.Rabbit
OnMessage(Message) Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener.Adapter Namespace > MessageListenerAdapter Class > OnMessage Method : OnMessage(Message) Method
message
The incoming message.
Rabbit Spring.Messaging.Amqp.Core.IMessageListener entry point.

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

Syntax

C# 
public void OnMessage( 
   Message message
)

Parameters

message
The incoming message.

Remarks

In case of an exception, the HandleListenerException method will be invoked. Note Does not support sending response messages based on result objects returned from listener methods. Use the Spring.Messaging.Amqp.Rabbit.Core.IChannelAwareMessageListener entry point (typically through a Spring message listener container) for handling result objects as well.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.