* @throws URISyntaxException
*/
private synchronized ActiveMQConnectionFactory createConnectionFactory(ActiveMQConnectionRequestInfo info) throws JMSException {
ActiveMQConnectionFactory factory = connectionFactory;
if (factory != null && info.isConnectionFactoryConfigured()) {
factory = factory.copy();
} else if (factory == null) {
factory = new ActiveMQConnectionFactory();
}
info.configure(factory);
return factory;