Name

ServerSessionPool

Synopsis

A ConnectionConsumer uses a ServerSessionPool to manage a pool of ServerSessions. The ServerSessionPool can manage the pool any way it likes, and can block if the pool is exhausted.

public interface ServerSessionPool {
// Public Instance Methods
   public abstract ServerSession getServerSession(
        ) throws JMSException;  
}

Passed To

QueueConnection.createConnectionConsumer(), TopicConnection.{createConnectionConsumer(), createDurableConnectionConsumer()}

Returned By

ConnectionConsumer.getServerSessionPool()

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.