7 Replies Latest reply on Jul 30, 2007 3:45 PM by Clebert Suconic

    How to create Connection object without using JNDI?

    Linux POSIX Newbie

      How can I create Connection object to JBoss Messaging broker without using JNDI....


      in ActiveMQ I would use

      ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(url);
       connection = factory.createConnection();


      I couldn't find anything similar in the JBoss APIs...

      JBossConnectionFactory needs some kind of delegate... and I couldnt find a way to put my url in!