Creates a QueueSender object to send messages to the
specified queue.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateSender ( _ queue As IQueue _ ) As IQueueSender |
| C# |
|---|
IQueueSender CreateSender( IQueue queue ) |
| Visual C++ |
|---|
IQueueSender^ CreateSender( IQueue^ queue ) |
Parameters
- queue
- Type: Kaazing.JMS..::..IQueue
the Queue to access, or null if this is an unidentified producer
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the session fails to create a sender due to some internal error. |
| Kaazing.JMS..::..InvalidDestinationException | if an invalid queue is specified. |