Sorry about the late response to your post, but I was just playing around with the concept of storing ActiveMQ admin objects in a LDAP directory service and I remembered this post.
The ActiveMQ administered objects (i.e., ActiveMQConnectionFactory, ActiveMQTopic, and ActiveMQQueue) all implement Referenceable. Therefore, you simply create a LDAP Context (com.sun.jndi.ldap.LdapCtx) through which you can bind, unbind, and lookup the AMQ admin objects to and from the LDAP directory server. You can administer AMQ admin objects via an LDAP browser like Apache Studio. Here's an LDIF for an ActiveMQConnectionFactory object. dn: cn=factory2,ou=adminobjects,o=activemq,dc=example,dc=com objectClass: javaNamingReference objectClass: javaObject objectClass: javaContainer objectClass: top cn: factory2 javaclassname: org.apache.activemq.ActiveMQConnectionFactory javafactory: org.apache.activemq.jndi.JNDIReferenceFactory javareferenceaddress: #0#blobTransferPolicy.uploadUrl#http://localhost:8080/ uploads/ javareferenceaddress: #1#brokerURL#tcp://localhost:61670 javareferenceaddress: #2#objectMessageSerializationDefered#false javareferenceaddress: #4#redeliveryPolicy.initialRedeliveryDelay#1000 javareferenceaddress: #3#prefetchPolicy.queuePrefetch#1000 Make sure you study rfc2713. Hope this helps. Joe Get a free ActiveMQ user guide @ http://www.ttmsolutions.com Honcho wrote: > > Hi, > > I am looking to switch from SUN MQ to activemq.The current set-up uses > LDAP to store administered objects. > > Are there any documents on how to administer the > ActiveMQConnectionFactory? > How to add a ActiveMQConnectionFactory to LDAP? > > Thanks, > Vishal > -- View this message in context: http://www.nabble.com/JNDI-and-LDAP-tp19107280p19289086.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
