Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.Send(String, IMessageCreator) Method

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

[Visual Basic]
Public Sub Send( _
   ByVal destinationName As String, _
   ByVal messageCreator As IMessageCreator _
void Send(
   string destinationName,
   IMessageCreator messageCreator


the name of the destination to send this message to (to be resolved to an actual destination by a DestinationResolver)
callback to create 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.Send Overload List