Creates a QueueBrowser object to peek at the messages on the specified queue.

Namespace:  Kaazing.JMS
Assembly:  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

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the session fails to create a browser due to some internal error.
Kaazing.JMS..::..InvalidDestinationExceptionif an invalid destination is specified

See Also