Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedMessageProducer.Send(IDestination, IMessage, MsgDeliveryMode, MsgPriority, TimeSpan) Method

Sends a message the specified destination.

[Visual Basic]
Public NotOverridable Overloads Sub Send( _
   ByVal destination As IDestination, _
   ByVal message As IMessage, _
   ByVal deliveryMode As MsgDeliveryMode, _
   ByVal priority As MsgPriority, _
   ByVal timeToLive As TimeSpan _
) _
    Implements IMessageProducer.Send
[C#]
public void Send(
   IDestination destination,
   IMessage message,
   MsgDeliveryMode deliveryMode,
   MsgPriority priority,
   TimeSpan timeToLive
);

Parameters

destination
The destination.
message
The message to send.
deliveryMode
The QOS to use for sending msgDeliveryMode.
priority
The priority.
timeToLive
The time to live.

Implements

IMessageProducer.Send

See Also

CachedMessageProducer Class | Spring.Messaging.Nms.Connections Namespace | CachedMessageProducer.Send Overload List