Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

INmsOperations.ConvertAndSend(IDestination, Object, IMessagePostProcessor) Method

Send the given object to the specified destination, converting the object to a NMS message with a configured IMessageConverter. The IMessagePostProcessor callback allows for modification of the message after conversion.

[Visual Basic]
Public Sub ConvertAndSend( _
   ByVal destination As IDestination, _
   ByVal message As Object, _
   ByVal postProcessor As IMessagePostProcessor _
)
[C#]
void ConvertAndSend(
   IDestination destination,
   object message,
   IMessagePostProcessor postProcessor
);

Parameters

destination
the destination to send this message to
message
the object to convert to a message
postProcessor
the callback to modify the message

See Also

INmsOperations Interface | Spring.Messaging.Nms.Core Namespace | INmsOperations.ConvertAndSend Overload List