Sends a message using the MessageProducer's
default delivery mode, priority, and time to live.
Namespace:
Kaazing.JMSAssembly: 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
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to send the message due to some internal error. |
| Kaazing.JMS..::..MessageFormatException | if an invalid message is specified. |
| Kaazing.JMS..::..InvalidDestinationException | if 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. |