{
factory = new HornetQXAConnectionFactory(false, transportConfigurations);
}
else if (jmsFactoryType.equals(JMSFactoryType.QUEUE_XA_CF))
{
factory = new HornetQXAQueueConnectionFactory(false, transportConfigurations);
}
else if (jmsFactoryType.equals(JMSFactoryType.TOPIC_XA_CF))
{
factory = new HornetQXATopicConnectionFactory(false, transportConfigurations);
}