Sends a message using the MessageProducer's default delivery mode, priority, and time to live.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Sub Send ( _
	message As IMessage _
)
C#
void Send(
	IMessage message
)
Visual C++
void Send(
	IMessage^ message
)

Parameters

message
Type: Kaazing.JMS..::..IMessage
the message to send

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to send the message due to some internal error.
Kaazing.JMS..::..MessageFormatExceptionif an invalid message is specified.
Kaazing.JMS..::..InvalidDestinationExceptionif a client uses this method with a MessageProducer with an invalid destination.
[!:java].lang.UnsupportedOperationException if a client uses this method with a MessageProducer that did not specify a destination at creation time.

See Also