[TIBCO.EMS .NET client library 8.1 documentation]

Asynchronously sends a message to a destination for an unidentified message producer. Uses the MessageProducer's default delivery mode, priority, and time to live.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public virtual void Send(
	Destination dest,
	Message message,
	ICompletionListener completionListener
)
Public Overridable Sub Send ( _
	dest As Destination, _
	message As Message, _
	completionListener As ICompletionListener _
)
public:
virtual void Send(
	Destination^ dest, 
	Message^ message, 
	ICompletionListener^ completionListener
)

Parameters

dest
Type: TIBCO.EMS..::.Destination
The destination (queue or topic) to send this message.
message
Type: TIBCO.EMS..::.Message
The message to send.
completionListener
Type: TIBCO.EMS..::.ICompletionListener
An ICompletionListener to be notified when the send has completed.

Remarks

See ICompletionListener for more information about asynchronous sending.

Typically, a message producer is assigned a destination at creation time; however, the TIBCO EMS .NET API also supports unidentified message producers, which require that the destination be supplied every time a message is sent.

See Also