ATemporaryQueue
object is a uniqueQueue
object created for the duration of aQueueConnection
. It is a system-defined queue that can be consumed only by theQueueConnection
that created it.
QueueSession.createTemporaryQueue()
delete() Deletes this temporary queue. |
Methods inherited from interface javax.jms.Queue |
getQueueName,toString |
public voiddelete() throwsJMSException
JMSException
will be thrown.JMSException
- if the JMS provider fails to delete the temporary queue due to some internal error.