Hi,

I'm wondering about ServiceMix/JBI and JNDI. I see from the spec and APIs
that I can get a JNDI InitialContext via ComponentContext.getNamingContext()
... ok, so how do things get bound to that?

I see there is a SpringInitialContextFactory which can bind the contents of
a jndi.xml file on the classpath (correct?) or a named file, or "the
spring.xml configuration file can be specified by the [EMAIL PROTECTED]
Context#PROVIDER_URL} property" ... I don't understand this bit, where is
that property set? Also, how does a JBI component cause
SpringInitialContextFactory to do its stuff if one wishes to use it?

Beyond that, suppose I'm deploying ServiceMix on a J2EE app server and I've
got stuff in its (the app servers) JNDI tree I want to be able to access
from my JBI component - make sense? possible? nonsense?? e.g. I want to look
up a data source.

any help much appreciated
thanks
David Black

Reply via email to