当前页面: 
在线文档首页 > 
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface  TemporaryQueue - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.jms
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: 
- QueueSession.createTemporaryQueue()
| Method Summary | 
|  void | delete()Deletes this temporary queue.
 | 
 
 
delete
public void delete()
            throws JMSException
- Deletes this temporary queue. If there are existing receivers
 still using it, a JMSExceptionwill be thrown.
- 
 
- 
- Throws:
- JMSException- if the JMS provider fails to delete the 
                         temporary queue due to some internal error.