QueueReceiver


public interface QueueReceiver
extends MessageConsumer

WebSphere MQ class: MQQueueReceiver



java.lang.Object
   |
   +----com.ibm.mq.jms.MQMessageConsumer
           |
           +----com.ibm.mq.jms.MQQueueReceiver

A client uses a QueueReceiver for receiving messages that have been delivered to a queue.

See also: MessageConsumer

This class inherits the following methods from MQMessageConsumer.

Methods

getQueue
public Queue getQueue() throws JMSException

Get the queue associated with this queue receiver.

Returns:
the queue.

Throws:
JMSException - if JMS fails to get queue for this queue receiver because of an internal error.



© IBM Corporation 1997, 2002. All Rights Reserved