I want to be able to do this:

ConnectionFactory connectionFactory = (ConnectionFactory)
ctx.lookup("cn=QueueConnectionFactory, ou=JMSObjects"); 

Where ctx is an InitalContext backed by an ldap directory.

i.e. I store in LDAP what ConnectionFactory class to use (ActiveMQs)

Then I can further ask for a queue:

Queue q = (Queue)ctx.lookup("cn=queueName, ou=JMSObjects");

i.e. so I can configure my entire JMS setup via LDAP/JNDI.

This is an Oracle howto:
http://biemond.blogspot.com/2008/02/jndi-connections-lookup-with-rmi-and.html
- note the screenshots showing the connection factory setup. 

I need to know the ActiveMQ specific attributes for storing an ActiveMQ
ConnectionFactory and Queue in LDAP.
-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-and-JNDI-LDAP-tp15705463s2354p15722716.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to