Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

INmsOperations.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 _
)
[C#]
void Send(
   string destinationName,
   IMessageCreator messageCreator
);

Parameters

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

See Also

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