Name

QueueConnection

Synopsis

A QueueConnection is a Connection specific to a point-to-point messaging provider. The QueueConnection allows clients to create QueueSessions using the createQueueSession() method.

                  Returned By
public interface QueueConnection extends javax.jms.Connection {
// Public Instance Methods
   public abstract ConnectionConsumer createConnectionConsumer(
        Queue queue, String messageSelector, 
        ServerSessionPool sessionPool, 
        int maxMessages) throws JMSException;  
   public abstract QueueSession createQueueSession(
        boolean transacted, 
        int acknowledgeMode) throws JMSException;  
}

Implementations

XAQueueConnection

Returned By

QueueConnectionFactory.createQueueConnection()

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.