Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.

JNDI

Camel will use JNDI as the default Registry implementation if you do not use Spring. This means that using a DefaultCamelContext will try and create a JndiRegistry which uses the JNDI InitialContext as the registry.

This means you need to configure some JNDI provider to be able to use this. This is described in this FAQ entry, but essentially you just need to create a file called jndi.properties on the classpath and configure it with the JNDI provider you wish.

You can use the Camel JNDI provider by using the following jndi.properties file

java.naming.factory.initial = org.apache.camel.util.jndi.CamelInitialContextFactory
© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram