Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.Send(String, IMessageCreator) Method

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

[Visual Basic]
Public NotOverridable Overloads Sub Send( _
   ByVal destinationName As String, _
   ByVal messageCreator As IMessageCreator _
) _
    Implements INmsOperations.Send
[C#]
public void Send(
   string destinationName,
   IMessageCreator messageCreator
);

Parameters

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

Implements

INmsOperations.Send

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace | NmsTemplate.Send Overload List