Example usage for javax.jms Session interface-usage

List of usage examples for javax.jms Session interface-usage

Introduction

In this page you can find the example usage for javax.jms Session interface-usage.

Usage

From source file org.mule.transport.jms.ReusableSessionWrapper.java

public class ReusableSessionWrapper implements Session {
    protected transient Log logger = LogFactory.getLog(getClass());

    private Session delegateSession;

    public ReusableSessionWrapper(Session delegateSession) {

From source file org.apache.aries.transaction.jms.internal.PooledSession.java

public class PooledSession implements Session, TopicSession, QueueSession, XASession {
    private static final transient Logger LOG = LoggerFactory.getLogger(PooledSession.class);

    private final SessionKey key;
    private final KeyedObjectPool<SessionKey, PooledSession> sessionPool;
    private final CopyOnWriteArrayList<MessageConsumer> consumers = new CopyOnWriteArrayList<MessageConsumer>();

From source file org.apache.karaf.jms.pool.internal.PooledSession.java

public class PooledSession implements Session, TopicSession, QueueSession, XASession {
    private static final transient Logger LOG = LoggerFactory.getLogger(PooledSession.class);

    private final SessionKey key;
    private final KeyedObjectPool<SessionKey, PooledSession> sessionPool;
    private final CopyOnWriteArrayList<MessageConsumer> consumers = new CopyOnWriteArrayList<>();

From source file org.apache.activemq.jms.pool.PooledSession.java

public class PooledSession implements Session, TopicSession, QueueSession, XASession {
    private static final transient Logger LOG = LoggerFactory.getLogger(PooledSession.class);

    private final SessionKey key;
    private final KeyedObjectPool<SessionKey, SessionHolder> sessionPool;
    private final CopyOnWriteArrayList<MessageConsumer> consumers = new CopyOnWriteArrayList<MessageConsumer>();

From source file net.timewalker.ffmq4.common.session.AbstractSession.java

/**
 * <p>Base implementation for a JMS {@link Session}</p>
 */
public abstract class AbstractSession implements Session {
    private static final Log log = LogFactory.getLog(AbstractSession.class);

From source file com.amazon.sqs.javamessaging.SQSSession.java

/**
 * A session serves several purposes:
 * <ul>
 * <li>It is a factory for its message producers and consumers.</li>
 * <li>It provides a way to create Queue objects for those clients that need to
 * dynamically manipulate provider-specific destination names.</li>