Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.ConvertAndSend(String, Object) Method

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

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


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


Exception Type Condition
EMSException If there is any problem accessing the EMS API

See Also

IEmsOperations Interface | Spring.Messaging.Ems.Core Namespace | IEmsOperations.ConvertAndSend Overload List