3 Replies Latest reply on Apr 8, 2013 9:25 AM by jbertram

    Difference between using JNDI to initiate a jms connection factory and using API directly


      As the title, I am using JBoss EAP 6.1, what is the difference between them and which one is better for performance?


      And I found if I use the API, there is no api to create the pooled connection factory. I only found


      TransportConfiguration transportConfiguration = new TransportConfiguration(InVMConnectorFactory.class.getName());




      TransportConfiguration transportConfiguration = 
                           new TransportConfiguration(NettyConnectorFactory.class.getName());


      Please advise which method is better. I am new to hornetQ.