Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.ConvertAndSend(Object) Method

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

This will only work with a default destination specified!

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

Parameters

message
the object to convert to a message

Exceptions

Exception TypeCondition
EMSExceptionIf there is any problem accessing the EMS API

See Also

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