Github user mvtorres commented on the issue:
https://github.com/apache/activemq-artemis/pull/2286
> Why don't you just use cf = new ActiveMQConnectionFActory(uri); ?
The existing code has the ConnectionFactory lookup via jndi, we're
migrating from a different JMS provider(JBoss Messaging).---
