157158159160161162163164165166
{ factory = new HornetQXAQueueConnectionFactory(true, initialServers); } else if (jmsFactoryType.equals(JMSFactoryType.TOPIC_XA_CF)) { factory = new HornetQXATopicConnectionFactory(true, initialServers); } return factory; }
197198199200201202203204205206
{ factory = new HornetQXAQueueConnectionFactory(false, transportConfigurations); } else if (jmsFactoryType.equals(JMSFactoryType.TOPIC_XA_CF)) { factory = new HornetQXATopicConnectionFactory(false, transportConfigurations); } return factory; }