activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Some user <>
Subject Re: ActiveMQ and JNDI/LDAP
Date Wed, 27 Feb 2008 20:42:40 GMT

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:
- 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:
Sent from the ActiveMQ - User mailing list archive at

View raw message