|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary |
Constructor Summary | |
MQQueue(java.lang.String queueName)
Creates a new MQQueue object. |
|
MQQueue(java.lang.String queueManagerName,
java.lang.String queueName)
Creates a new MQQueue object. |
Method Summary | |
java.lang.String |
getQueueName()
Gets the name of this queue. |
java.lang.String |
toString()
Gets a version of the queue name. |
Methods inherited from class com.ibm.mq.jms.MQDestination |
getCCSID, getDescription, getEncoding, getExpiry, getFailIfQuiesce, getPersistence, getPriority, getProperty, getStringFromDestination, getTargetClient, setCCSID, setDescription, setEncoding, setExpiry, setFailIfQuiesce, setPersistence, setPriority, setProperty, setTargetClient |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MQQueue(java.lang.String queueName) throws javax.jms.JMSException
queueName
- is one of:
queue://qmgrName/queueName [name-value pairs]
Where:
javax.jms.JMSException
- if the queue or queue manager names are invalid.public MQQueue(java.lang.String queueManagerName, java.lang.String queueName) throws javax.jms.JMSException
queueManagerName
- the name of the queue managerqueueName
- the name of the queue
javax.jms.JMSException
- if the either name is invalid.Method Detail |
public java.lang.String getQueueName()
getQueueName
in interface javax.jms.Queue
queue://qmgrName/queueName [name-value pairs]
Where:
javax.jms.JMSException
- if JMS implementation for queue fails to return the
queue name because of an internal error.public java.lang.String toString()
toString
in interface javax.jms.Queue
toString
in class java.lang.Object
|
(c) Copyright IBM Corp. 2005. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |