Thank you for the link on OpenDS, it looks great and seems to solve half my
problem (alignment of data) :-)

As seen on Joe's Blog, the binding/lookup of any Java Object can be
performed on a LDAP server using the LdapCtxFactory provided by Sun.
http://joefernandezblog.blogspot.com/

When using a jndi.properties file to create an initial context, the file
looks like this:
java.naming.factory.initial = com.sun.jndi.ldap.LdapCtxFactory
java.naming.provider.url=ldap://host1:10389/ou=adminobjects,o=amq,dc=example,dc=com
java.naming.security.credentials=secret
java.naming.security.principal=uid=admin,ou=system

The same way ActiveMQ manages the failover mechanism, do you know if it is
possible to define the OpenDS servers addresses in a single jndi.properties
file ? I did not find anything about this on the Sun Website.

Ideally, my need would be to have this configured in the jndi.properties
file:
java.naming.provider.url=ldap://host1:10389/xxxx;ldap://host2:10389/xxxx
....


Thank you for your help




2009/2/7 sweetjonnie <jonniesav...@yahoo.com>

>
>
> gregory.guibert wrote:
> >
> > In addition to the JMS-related objects, I need to bind/lookup other kinds
> > of
> > objects, so, the JNDI provider does not exactly fits my needs.
> > Using ActiveMQ with failover mechanism, I am searching for a JNDI
> > implementation with an equivalent *failover *mechanism and an *alignment
> > of
> > the stored objects*
> >
>
> Alignment of stored objects ... do you mean that you need for the
> destinations and connection-factories residing in the persistent store
> behind the jndi provider always refer to the current broker? Wow. That's a
> stiff requirement, but fair enough.
>
> I would ask you whether you would require the same persistent store to hold
> your JMS Administered Objects as that which holds your "other kinds of
> objects". If you were to allow two separate repositories, then you could
> modify the other objects in the OpenDS directory and query your (hopefully
> aligned) JMS Administered Objects from ActiveMQ's JNDI persistent store.
>
> Sincerely,
> jonnie savell
> --
> View this message in context:
> http://www.nabble.com/ActiveMQ-and-JNDI-provider-tp21860956p21886292.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Reply via email to