/** * Creates a <CODE>QueueReceiver</CODE> object to receive messages from * the specified queue. * * @param queue the <CODE>Queue</CODE> to access * @return a new QueueBrowser instance. * @throws JMSException if the session fails to create a receiver due to * some internal error. * @throws JMSException * @throws InvalidDestinationException if an invalid queue is specified. */ @Override public QueueReceiver createReceiver(Queue queue) throws JMSException { checkClosed(); return createReceiver(queue, null); }
/** * Creates a <CODE>QueueReceiver</CODE> object to receive messages from * the specified queue. * * @param queue the <CODE>Queue</CODE> to access * @return a new QueueBrowser instance. * @throws JMSException if the session fails to create a receiver due to * some internal error. * @throws JMSException * @throws InvalidDestinationException if an invalid queue is specified. */ @Override public QueueReceiver createReceiver(Queue queue) throws JMSException { checkClosed(); return createReceiver(queue, null); }
/** * Creates a <CODE>QueueReceiver</CODE> object to receive messages from * the specified queue. * * @param queue the <CODE>Queue</CODE> to access * @return * @throws JMSException if the session fails to create a receiver due to * some internal error. * @throws JMSException * @throws InvalidDestinationException if an invalid queue is specified. */ public QueueReceiver createReceiver(Queue queue) throws JMSException { checkClosed(); return createReceiver(queue, null); }
/** * Creates a <CODE>QueueReceiver</CODE> object to receive messages from * the specified queue. * * @param queue the <CODE>Queue</CODE> to access * @return a new QueueBrowser instance. * @throws JMSException if the session fails to create a receiver due to * some internal error. * @throws JMSException * @throws InvalidDestinationException if an invalid queue is specified. */ @Override public QueueReceiver createReceiver(Queue queue) throws JMSException { checkClosed(); return createReceiver(queue, null); }
/** * Creates a <CODE>QueueReceiver</CODE> object to receive messages from * the specified queue. * * @param queue the <CODE>Queue</CODE> to access * @return a new QueueBrowser instance. * @throws JMSException if the session fails to create a receiver due to * some internal error. * @throws JMSException * @throws InvalidDestinationException if an invalid queue is specified. */ @Override public QueueReceiver createReceiver(Queue queue) throws JMSException { checkClosed(); return createReceiver(queue, null); }
public QueueReceiver createReceiver(Queue queue) throws JMSException { return addQueueReceiver(getSession().createReceiver(queue)); }
public QueueReceiver createReceiver(Queue queue, String selector) throws JMSException { return addQueueReceiver(getSession().createReceiver(queue, selector)); }