Sends the message to the given destination
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
<ExtensionAttribute> _ Public Shared Sub Send ( _ producer As IMessageProducer, _ destination As IDestination, _ objMessage As Object _ ) |
| C# |
|---|
public static void Send( this IMessageProducer producer, IDestination destination, Object objMessage ) |
| Visual C++ |
|---|
[ExtensionAttribute] public: static void Send( IMessageProducer^ producer, IDestination^ destination, Object^ objMessage ) |
| JavaScript |
|---|
Apache.NMS.MessageProducerExtensions.send = function(producer, destination, objMessage); |
Parameters
- producer
- Type: Apache.NMS..::..IMessageProducer
- destination
- Type: Apache.NMS..::..IDestination
- objMessage
- Type: System..::..Object