Spring.Messaging.Amqp.Rabbit
GetHandlerMethodName Method
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener.Adapter Namespace > MessageListenerAdapter Class : GetHandlerMethodName Method
originalMessage
The EMS request message.
extractedMessage
The converted Rabbit request message, to be passed into the listener method as argument.
Gets the name of the listener method that is supposed to handle the given message. The default implementation simply returns the configured default listener method, if any.

Syntax

C# 
protected virtual string GetHandlerMethodName( 
   Message originalMessage,
   object extractedMessage
)

Parameters

originalMessage
The EMS request message.
extractedMessage
The converted Rabbit request message, to be passed into the listener method as argument.

Return Value

the name of the listener method (never
null
)

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.