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

© 2004-2014 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