/*
 * Created on May 9, 2004
 * 
 * TODO To change the template for this generated file go to Window -
 * Preferences - Java - Code Generation - Code and Comments
 */
package org.activemq;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;

import org.activemq.test.JmsResourceProvider;
/**
 * @version $Revision: 1.1.1.1 $
 */
public class JmsXAResourceProvider extends JmsResourceProvider {
	
	/**
	 * @see org.activemq.test.JmsResourceProvider#createConnectionFactory()
	 */
	public ConnectionFactory createConnectionFactory() throws JMSException {
		return new ActiveMQXAConnectionFactory(getServerUri());
	}
	
	/**
	 * @see org.activemq.test.JmsResourceProvider#isTransacted()
	 */
	public boolean isTransacted() {
		return true;
	}
}