createBrowser
public QueueBrowser createBrowser(Queue queue) throws JMSException;
Creates a QueueBrowser object to peek at the messages on the specified queue.
- Parameters
- queue - the queue to access.
- Returns
- QueueBrowser - a newly created QueueBrowser.
- Exceptions
- JMSException - with one of the following reasons:
- MQJMS_E_SESSION_CLOSED
- MQJMS_EXCEPTION_INVALID_DESTINATION
- MQJMS_E_NON_LOCAL_RXQ
uj30070_