Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageQueueOperations.Send(MessageQueue, Message) Method

Sends the specified message on the provided MessageQueue using the transactional settings as dicted by MessageQueue's Transactional property and the current Spring managed ambient transaction.

[Visual Basic]
Public Sub Send( _
   ByVal messageQueue As MessageQueue, _
   ByVal message As Message _
)
[C#]
void Send(
   MessageQueue messageQueue,
   Message message
);

Parameters

messageQueue
The DefaultMessageQueue to send a message to.
message
The message to send

Remarks

A transactional send (either local or DTC transaction) will be attempted for a transacitonal queue, falling back to a single-transaction send to a transactional queue if there is not ambient Spring managed transaction.

See Also

IMessageQueueOperations Interface | Spring.Messaging.Core Namespace | IMessageQueueOperations.Send Overload List