Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

INmsOperations.ConvertAndSend(String, Object) Method

Send the given object to the specified destination, converting the object to a NMS message with a configured IMessageConverter.

[Visual Basic]
Public Sub ConvertAndSend( _
   ByVal destinationName As String, _
   ByVal message As Object _
)
[C#]
void ConvertAndSend(
   string destinationName,
   object message
);

Parameters

destinationName
the name of the destination to send this message to (to be resolved to an actual destination by a DestinationResolver)
message
the object to convert to a message

See Also

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