Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For a standalone JNDI provider, we do recommend using our own Spring based JNDI provider which is the default in the stand alone ServiceMix server. To use add the following jndi.properties file to your classpath

Code Block
textnonetext
none
java.naming.factory.initial = org.servicemix.jbi.jndi.SpringInitialContextFactory

Note that you can also add a line

Code Block
textnonetext
none
java.naming.provider.url = classpath:foo/bar.xml

...