/** * Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on * the specified queue. * * @param queue the <CODE>queue</CODE> to access * @return the Queue Browser * @throws JMSException if the session fails to create a browser due to some * internal error. * @throws InvalidDestinationException if an invalid destination is * specified * @since 1.1 */ @Override public QueueBrowser createBrowser(Queue queue) throws JMSException { checkClosed(); return createBrowser(queue, null); }
/** * Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on * the specified queue. * * @param queue the <CODE>queue</CODE> to access * @return the Queue Browser * @throws JMSException if the session fails to create a browser due to some * internal error. * @throws InvalidDestinationException if an invalid destination is * specified * @since 1.1 */ @Override public QueueBrowser createBrowser(Queue queue) throws JMSException { checkClosed(); return createBrowser(queue, null); }
/** * Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on * the specified queue. * * @param queue the <CODE>queue</CODE> to access * @return the Queue Browser * @throws JMSException if the session fails to create a browser due to some * internal error. * @throws InvalidDestinationException if an invalid destination is * specified * @since 1.1 */ @Override public QueueBrowser createBrowser(Queue queue) throws JMSException { checkClosed(); return createBrowser(queue, null); }
/** * Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on * the specified queue. * * @param queue the <CODE>queue</CODE> to access * @return the Queue Browser * @throws JMSException if the session fails to create a browser due to some * internal error. * @throws InvalidDestinationException if an invalid destination is * specified * @since 1.1 */ public QueueBrowser createBrowser(Queue queue) throws JMSException { checkClosed(); return createBrowser(queue, null); }
/** * Creates a <CODE>QueueBrowser</CODE> object to peek at the messages on * the specified queue. * * @param queue the <CODE>queue</CODE> to access * @return the Queue Browser * @throws JMSException if the session fails to create a browser due to some * internal error. * @throws InvalidDestinationException if an invalid destination is * specified * @since 1.1 */ @Override public QueueBrowser createBrowser(Queue queue) throws JMSException { checkClosed(); return createBrowser(queue, null); }
public QueueBrowser createBrowser(Queue queue, String selector) throws JMSException { return addQueueBrowser(getSession().createBrowser(queue, selector)); }
public QueueBrowser createBrowser(Queue queue) throws JMSException { return addQueueBrowser(getSession().createBrowser(queue)); }