Interface TemporaryQueue

All Superinterfaces:
Destination, Queue

public interface TemporaryQueue
extends Queue

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

See Also:

Method Summary
 void delete()
          Deletes this temporary queue.
Methods inherited from interface javax.jms.Queue
getQueueName, toString

Method Detail


public void delete()
            throws JMSException
Deletes this temporary queue. If there are existing receivers still using it, a JMSException will be thrown.
JMSException - if the JMS provider fails to delete the temporary queue due to some internal error.