Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.SendWithDelegate(String, MessageCreatorDelegate) Method

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

[Visual Basic]
Public Sub SendWithDelegate( _
   ByVal destinationName As String, _
   ByVal messageCreatorDelegate As MessageCreatorDelegate _
void SendWithDelegate(
   string destinationName,
   MessageCreatorDelegate messageCreatorDelegate


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