Package org.apache.activemq.ra

Examples of org.apache.activemq.ra.LocalAndXATransaction


        super(connection, poolFactory, transactionManager);
        this.name = name;
    }

    protected XAResource createXaResource(PooledSession session) throws JMSException {
        XAResource xares = new LocalAndXATransaction(session.getSession().getTransactionContext());
        if (name != null) {
            xares = new WrapperNamedXAResource(xares, name);
        }
        return xares;
    }
View Full Code Here


    public JcaConnectionPool(ActiveMQConnection connection, ObjectPoolFactory poolFactory, TransactionManager transactionManager, String name) {
        this(connection, transactionManager, name);
    }

    protected XAResource createXaResource(PooledSession session) throws JMSException {
        XAResource xares = new LocalAndXATransaction(session.getInternalSession().getTransactionContext());
        if (name != null) {
            xares = new WrapperNamedXAResource(xares, name);
        }
        return xares;
    }
View Full Code Here

        super(connection, poolFactory, transactionManager);
        this.name = name;
    }

    protected XAResource createXaResource(PooledSession session) throws JMSException {
        XAResource xares = new LocalAndXATransaction(session.getInternalSession().getTransactionContext());
        if (name != null) {
            xares = new WrapperNamedXAResource(xares, name);
        }
        return xares;
    }
View Full Code Here

TOP

Related Classes of org.apache.activemq.ra.LocalAndXATransaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.