A temporary queue allows an application to create and delete temporary queues on the current connection to the SonicMQ Broker. The SonicMQ Broker provides the name of the queue to the application. A temporary queue allows the SonicMQ Broker to hold JMS messages during the JMS session. Messages in a temporary queue are available to any application that knows the name of the temporary queue. A temporary queue is automatically deleted when the application that created it terminates the session. When the JMS session ends, any messages remaining in the temporary queue are deleted.