Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Coding Messaging Client Applications | A Basic JMS Sender-Receiver Client | Sender-Receiver Application Components | JNDI Properties File
JNDI Properties File
The client uses the JNDI configuration information contained in the properties file specified in the client's CLASSPATH. The JMS administrative tool accesses this configuration information (see Administrative Setup Commands). Using a JNDI properties file has the advantage of allowing different JNDI providers to be used without having to modify the client code.
The following example shows a properties file for the sender-receiver client: