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  
  * $Id: ActiveMQXAJmsConnector.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 package org.mule.transport.jms.activemq;
 11  
 
 12  
 import org.mule.api.MuleContext;
 13  
 import org.mule.util.ClassUtils;
 14  
 
 15  
 import javax.jms.ConnectionFactory;
 16  
 
 17  
 public class ActiveMQXAJmsConnector extends ActiveMQJmsConnector
 18  
 {
 19  
     public static final String ACTIVEMQ_XA_CONNECTION_FACTORY_CLASS = "org.apache.activemq.ActiveMQXAConnectionFactory";
 20  
 
 21  
     public ActiveMQXAJmsConnector(MuleContext context)
 22  
     {
 23  0
         super(context);
 24  0
     }
 25  
     
 26  
     protected ConnectionFactory getDefaultConnectionFactory() throws Exception
 27  
     {
 28  0
         ConnectionFactory connectionFactory = (ConnectionFactory)
 29  
                 ClassUtils.instanciateClass(ACTIVEMQ_XA_CONNECTION_FACTORY_CLASS, getBrokerURL());
 30  0
         applyVendorSpecificConnectionFactoryProperties(connectionFactory);
 31  0
         return connectionFactory;
 32  
     }
 33  
 }