Creates a QueueBrowser object to peek at the messages on the specified queue
using a message selector.
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
Visual Basic |
---|
Function CreateBrowser ( _ queue As IQueue, _ selector As String _ ) As IQueueBrowser |
C# |
---|
IQueueBrowser CreateBrowser( IQueue queue, string selector ) |
Visual C++ |
---|
IQueueBrowser^ CreateBrowser( IQueue^ queue, String^ selector ) |
JavaScript |
---|
function createBrowser(queue, selector); |
Return Value
A IQueueBrowserExceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | If the Prodiver does not support creation of Queue Browsers. |