Sends a message to the queue. Uses the QueueSender'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
Implements
IMessageProducer..::..Send(IMessage)
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 QueueSender with an invalid queue. |