Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerAdapter.GetResponseDestination Method

Determine a response destination for the given message.

[Visual Basic]
Protected Overridable Sub GetResponseDestination( _
   ByVal request As Message, _
   ByVal response As Message _
)
[C#]
protected virtual MessageQueue GetResponseDestination(
   Message request,
   Message response
);

Parameters

request
The request.
response
The response.

Return Value

Remarks

The default implementation first checks the MSMQ ResponseQueue of the supplied request; if that is not

null
it is returned; if it is
null
, then the configured DefaultResponseQueue default response destination} is returned; if this too is
null
, then an MessagingExceptionis thrown.

See Also

MessageListenerAdapter Class | Spring.Messaging.Listener Namespace