Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

INmsOperations.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 _
)
[C#]
void SendWithDelegate(
   string destinationName,
   MessageCreatorDelegate messageCreatorDelegate
);

Parameters

destinationName
the name of the destination to send this message to (to be resolved to an actual destination by a DestinationResolver)
messageCreatorDelegate
delegate callback to create a message

See Also

INmsOperations Interface | Spring.Messaging.Nms.Core Namespace | INmsOperations.SendWithDelegate Overload List