Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTemplate.ConvertAndSend(String, Object) Method

Send the given object to the specified destination, converting the object to a MSMQ message with a configured IMessageConverter and resolving the destination name to a MessageQueue using a IMessageQueueFactory

[Visual Basic]
Public NotOverridable Overloads Sub ConvertAndSend( _
   ByVal messageQueueObjectName As String, _
   ByVal obj As Object _
) _
    Implements IMessageQueueOperations.ConvertAndSend
[C#]
public void ConvertAndSend(
   string messageQueueObjectName,
   object obj
);

Parameters

messageQueueObjectName
the name of the destination queue to send this message to (to be resolved to an actual MessageQueue by a IMessageQueueFactory)
obj
the object to convert to a message

Implements

IMessageQueueOperations.ConvertAndSend

See Also

MessageQueueTemplate Class | Spring.Messaging.Core Namespace | MessageQueueTemplate.ConvertAndSend Overload List