Name

Queue

Synopsis

A Queue is a Destination specific to point-to-point messaging. The Queue has a String name, whose syntax is dictated by the provider. Queues are created using the createQueue() method on a QueueSession.

                  Returned By
public interface Queue extends javax.jms.Destination {
// Public Instance Methods
   public abstract String getQueueName() throws JMSException;  
   public abstract String toString();  
}

Implementations

TemporaryQueue

Passed To

QueueConnection.createConnectionConsumer(), QueueRequestor.QueueRequestor(), QueueSender.send(), QueueSession.{createBrowser(), createReceiver(), createSender()}

Returned By

QueueBrowser.getQueue(), QueueReceiver.getQueue(), QueueSender.getQueue(), QueueSession.createQueue()

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.