Coverage Report - org.mule.transport.jms.activemq.ActiveMQXAJmsConnector
 
Classes in this File Line Coverage Branch Coverage Complexity
ActiveMQXAJmsConnector
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.jms.activemq;
 8  
 
 9  
 import org.mule.api.MuleContext;
 10  
 import org.mule.util.ClassUtils;
 11  
 
 12  
 import javax.jms.ConnectionFactory;
 13  
 
 14  
 public class ActiveMQXAJmsConnector extends ActiveMQJmsConnector
 15  
 {
 16  
     public static final String ACTIVEMQ_XA_CONNECTION_FACTORY_CLASS = "org.apache.activemq.ActiveMQXAConnectionFactory";
 17  
 
 18  
     public ActiveMQXAJmsConnector(MuleContext context)
 19  
     {
 20  0
         super(context);
 21  0
     }
 22  
     
 23  
     protected ConnectionFactory getDefaultConnectionFactory() throws Exception
 24  
     {
 25  0
         ConnectionFactory connectionFactory = (ConnectionFactory)
 26  
                 ClassUtils.instanciateClass(ACTIVEMQ_XA_CONNECTION_FACTORY_CLASS, getBrokerURL());
 27  0
         applyVendorSpecificConnectionFactoryProperties(connectionFactory);
 28  0
         return connectionFactory;
 29  
     }
 30  
 }