Creates a QueueBrowser object to peek at the messages on
the specified queue.
Namespace:
Kaazing.JMSAssembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateBrowser ( _ queue As IQueue _ ) As IQueueBrowser |
| C# |
|---|
IQueueBrowser CreateBrowser( IQueue queue ) |
| Visual C++ |
|---|
IQueueBrowser^ CreateBrowser( 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 browser due to some internal error. |
| Kaazing.JMS..::..InvalidDestinationException | if an invalid destination is specified |