{
factory = new HornetQJMSConnectionFactory(false, transportConfigurations);
}
else if (jmsFactoryType.equals(JMSFactoryType.QUEUE_CF))
{
factory = new HornetQQueueConnectionFactory(false, transportConfigurations);
}
else if (jmsFactoryType.equals(JMSFactoryType.TOPIC_CF))
{
factory = new HornetQTopicConnectionFactory(false, transportConfigurations);
}