Package org.codehaus.activemq

Examples of org.codehaus.activemq.ActiveMQXAConnectionFactory


     * @throws JMSException
     */
    public static Connection makeConnection(ConnectionFactory connectionFactory, ActiveMQConnectionRequestInfo info) throws JMSException {
        if (connectionFactory == null) {
            if (info.isXa()) {
                connectionFactory = new ActiveMQXAConnectionFactory(info.getServerUrl());
            }
            else {
                connectionFactory = new org.codehaus.activemq.ActiveMQConnectionFactory(info.getServerUrl());
            }
        }
View Full Code Here


        else if (name.equals(getTopicConnectionFactory())) {
            result = new ActiveMQConnectionFactory(brokerURL);
            _directory.put(name, result);
        }
        else if (name.equals(getXAQueueConnectionFactory())) {
            result = new ActiveMQXAConnectionFactory(brokerURL);
            _directory.put(name, result);
        }
        else if (name.equals(getXATopicConnectionFactory())) {
            result = new ActiveMQXAConnectionFactory(brokerURL);
            _directory.put(name, result);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of org.codehaus.activemq.ActiveMQXAConnectionFactory

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.