MQQueue

public class MQQueue
extends MQDestination
implements QueueReferenceableSerializable
java.lang.Object
   |
   +----com.ibm.mq.jms.MQDestination
           |
           +----com.ibm.mq.jms.MQQueue
          

An MQQueue object encapsulates a provider-specific queue name. It is the way that a client specifies the identity of a queue to JMS methods.

Constructors

MQQueue

public MQQueue(String queueName) throws JMSException;

Creates a new MQQueue object.

Parameters
Exceptions

MQQueue

public MQQueue(String queueManagerName, String queueName) 
              throws JMSException;

Creates a new MQQueue object.

Parameters
Exceptions

Methods

getQueueName

public String getQueueName();

Gets the name of this queue. Clients that depend upon the name are not portable.

Returns
Exceptions

toString

public String toString();

Gets a version of the queue name.

Returns