Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.Send(Destination, IMessageCreator) Method

Send a message to the specified destination. The IMessageCreator callback creates the message given a Session.

[Visual Basic]
Public Sub Send( _
   ByVal destination As Destination, _
   ByVal messageCreator As IMessageCreator _
)
[C#]
void Send(
   Destination destination,
   IMessageCreator messageCreator
);

Parameters

destination
the destination to send this message to
messageCreator
callback to create a message

Exceptions

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

See Also

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