Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageListenerAdapter.BuildMessage Method

Builds a MSMQ message to be sent as response based on the given result object.

[Visual Basic]
Protected Overridable Sub BuildMessage( _
   ByVal result As Object _
)
[C#]
protected virtual Message BuildMessage(
   object result
);

Parameters

result
The result.

Return Value

the MSMQ

Message
(never
null
)

Exceptions

Exception Type Condition
MessagingException If no messgae converter is specified.

See Also

MessageListenerAdapter Class | Spring.Messaging.Listener Namespace