Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerAdapter.GetHandlerMethodName Method

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.

[Visual Basic]
Protected Overridable Sub GetHandlerMethodName( _
   ByVal originalMessage As Message, _
   ByVal extractedMessage As Object _
)
[C#]
protected virtual string GetHandlerMethodName(
   Message originalMessage,
   object extractedMessage
);

Parameters

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

Return Value

the name of the listener method (never

null
)

Exceptions

Exception Type Condition
EMSException if thrown by EMS API methods

See Also

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