Creates a QueueReceiver object to receive messages from the
specified queue.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateReceiver ( _ queue As IQueue _ ) As IQueueReceiver |
| C# |
|---|
IQueueReceiver CreateReceiver( IQueue queue ) |
| Visual C++ |
|---|
IQueueReceiver^ CreateReceiver( IQueue^ queue ) |
Parameters
- queue
- Type: Kaazing.JMS..::..IQueue
the Queue to access
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the session fails to create a receiver due to some internal error. |
| Kaazing.JMS..::..InvalidDestinationException | if an invalid queue is specified. |