WebSphere MQ class: MQQueue
java.lang.Object | +----com.ibm.mq.jms.MQDestination | +----com.ibm.mq.jms.MQQueue |
A Queue object encapsulates a provider-specific queue name. It is the way a client specifies the identity of a queue to JMS methods.
public MQQueue()
Default constructor for use by the administration tool.
public MQQueue(String URIqueue)
Create a new MQQueue instance. The string takes a URI format, as described on page (JMSURI).
public MQQueue(String queueManagerName, String queueName)
public String getBaseQueueManagerName()
public String getBaseQueueName()
public java.lang.String getQueueName() throws JMSException
Get the name of this queue.
Clients that depend upon the name are not portable.
public Reference getReference() throws NamingException
Create a reference for this queue.
public void setBaseQueueManagerName(String x) throws JMSException
Set the value of the WebSphere MQ queue manager name.
public void setBaseQueueName(String x) throws JMSException
Set the value of the WebSphere MQ queue name.
public java.lang.String toString()
Return a pretty printed version of the queue name.