Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 32038 invoked from network); 16 Sep 2008 12:36:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 12:36:08 -0000 Received: (qmail 13230 invoked by uid 500); 16 Sep 2008 12:35:59 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 13218 invoked by uid 500); 16 Sep 2008 12:35:59 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 13207 invoked by uid 99); 16 Sep 2008 12:35:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 05:35:59 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 12:34:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KfZmE-0005Oc-GO for users@activemq.apache.org; Tue, 16 Sep 2008 05:35:30 -0700 Message-ID: <19510860.post@talk.nabble.com> Date: Tue, 16 Sep 2008 05:35:30 -0700 (PDT) From: Honcho To: users@activemq.apache.org Subject: Re: JNDI and LDAP In-Reply-To: <19289086.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vish_agarwal@aol.in References: <19107280.post@talk.nabble.com> <19289086.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Honcho wrote: > > Thank u. > > > Joe Fernandez wrote: >> >> 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-tp19107280p19510860.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.