Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTemplate.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 Overridable Overloads Sub Send( _
   ByVal messageQueue As MessageQueue, _
   ByVal message As Message _
) _
    Implements IMessageQueueOperations.Send
[C#]
public virtual void Send(
   MessageQueue messageQueue,
   Message message
);

Parameters

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

Implements

IMessageQueueOperations.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

MessageQueueTemplate Class | Spring.Messaging.Core Namespace | MessageQueueTemplate.Send Overload List