Websphere MQ Everyplace

com.ibm.mqe.jms
Class MQeTemporaryQueue

java.lang.Object
  |
  +--com.ibm.mqe.jms.MQeDestination
        |
        +--com.ibm.mqe.jms.MQeJMSQueue
              |
              +--com.ibm.mqe.jms.MQeTemporaryQueue
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, javax.jms.TemporaryQueue

public class MQeTemporaryQueue
extends MQeJMSQueue
implements javax.jms.TemporaryQueue

A TemporaryQueue object is a unique Queue object created for the duration of a Connection. It is a system-defined queue that can be consumed only by the Connection that created it.

See Also:
Session#createTemporaryQueue(), QueueSession.createTemporaryQueue()

Method Summary
 void delete()
          Deletes this temporary queue.
 
Methods inherited from class com.ibm.mqe.jms.MQeJMSQueue
getMQNative, getQueueName, setMQNative, toString
 
Methods inherited from class com.ibm.mqe.jms.MQeDestination
getDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
getQueueName, toString
 

Method Detail

delete

public void delete()
            throws javax.jms.JMSException
Deletes this temporary queue. If there are existing receivers still using it, a JMSException will be thrown.

Specified by:
delete in interface javax.jms.TemporaryQueue
Throws:
javax.jms.JMSException - if the queue is in use or if we failed to delete it due to an internal error

Websphere MQ Everyplace