Name

TemporaryQueue

Synopsis

A TemporaryQueue is a Queue that is created and used via a particular connection, and only that connection can consume messages from a TemporaryQueue that it creates. TemporaryQueues are typically used when issuing messages with a JMSReplyTo header -- a TemporaryQueue can be used as the value of the JMSReplyTo, avoiding the need for a pre-defined Queue to be created on the JMS server.

                  Returned By
public interface TemporaryQueue extends Queue {
// Public Instance Methods
   public abstract void delete() throws JMSException;  
}

Returned By

QueueSession.createTemporaryQueue()

Get Java Enterprise in a Nutshell, Second Edition 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.