users@glassfish.java.net

Can you get a JMS ConnectionFactory without using JNDI in Glassfish Open MQ

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Jan 2010 14:45:00 PST

In activeMQ i can do this:
            ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(null, null, "tcp://localhost:61616");


Is there anyway to do this with Glassfish and Open MQ? or do i HAVE to use JNDI.

Thanks.
[Message sent by forum member 'jmandawg' (jmandawg_at_hotmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=378913