45.3. Methods

The TemporaryQueue interface inherits the methods of the interface javax.jms.Queue. The following method is defined in the interface javax.jms.TemporaryQueue.

delete

public void delete()

Deletes this temporary queue. If there are existing receivers still using it, a JMSException will be thrown.

THROWS:

JMSException if the JMS provider fails to delete the temporary queue due to some internal error

Get Java™ Message Service API Tutorial and Reference: Messaging for the J2EE™ Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.