Sends the message to the default destination with the explicit QoS configuration
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Sub Send ( _ message As IMessage, _ deliveryMode As MsgDeliveryMode, _ priority As MsgPriority, _ timeToLive As TimeSpan _ ) |
| C# |
|---|
void Send( IMessage message, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive ) |
| Visual C++ |
|---|
void Send( IMessage^ message, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive ) |
| JavaScript |
|---|
function send(message, deliveryMode, priority, timeToLive); |
Parameters
- message
- Type: Apache.NMS..::..IMessage
- deliveryMode
- Type: Apache.NMS..::..MsgDeliveryMode
- priority
- Type: Apache.NMS..::..MsgPriority
- timeToLive
- Type: System..::..TimeSpan