You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by tfecw <we...@gmail.com> on 2010/04/08 16:25:31 UTC

Adding resources to the ActiveMQInitialContext

I've got a stand alone app (not in an app server and no jndi provider) that
is currently connecting to a weblogic jms and i'm trying to convert that to
active mq. 

Since i don't have a JNDI provider with this, i'm trying to figure out how i
can update the ActiveMQInitialContextFactory to contain what i need.  My
first hurdle was the code was looking for a specified ConnectionFactory. To
work around that, i changed the name of connectionfactory to
ConnectionFactory. 

Now i'm unable to find the queues/topics i've created through the active MQ
interface.  Are those not available when you use the
ActiveMQInitialCOntextFactory? 

Thanks 
-- 
View this message in context: http://old.nabble.com/Adding-resources-to-the-ActiveMQInitialContext-tp28179354p28179354.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Adding resources to the ActiveMQInitialContext

Posted by tfecw <we...@gmail.com>.
disregard, I was having a brainfart moment and didn't realize that this page: 
http://activemq.apache.org/jndi-support.html
http://activemq.apache.org/jndi-support.html  

had all the answers. That plus the fact this app didn't have a
jndi.properties file and attempted to build the InitialContext from a couple
of parameters, and that equaled some confusion! 
-- 
View this message in context: http://old.nabble.com/Adding-resources-to-the-ActiveMQInitialContext-tp28179354p28179533.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.