javax.jms
Interface TemporaryQueue


public interface TemporaryQueue
extends Queue

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

See Also:
QueueSession.createTemporaryQueue()

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

Method Detail

delete

public void delete()
            throws JMSException
Delete this temporary queue. If there are still existing senders or receivers still using it, then a JMSException will be thrown.
Throws:
JMSException - if JMS implementation fails to delete a Temporary topic due to some internal error.