Sends the message to the given destination

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Sub Send ( _
	destination As IDestination, _
	message As IMessage _
)
C#
void Send(
	IDestination destination,
	IMessage message
)
Visual C++
void Send(
	IDestination^ destination, 
	IMessage^ message
)
JavaScript
function send(destination, message);

Parameters

destination
Type: Apache.NMS..::..IDestination
message
Type: Apache.NMS..::..IMessage

See Also