Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | webMethods Messaging Administration | The JMSAdmin Command-Line Tool | Sample JMSAdmin Command Sequence
 
Sample JMSAdmin Command Sequence
The following is an example of a JMSAdmin command sequence that binds administered objects for a pub/sub application called JAZZ.
For more examples of using JMSAdmin to configure administered objects, see Administrative Setup Commands.
[1] java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
[2] java.naming.provider.url=ldap://adam.south.acme.com/
ou=jmsdev,ou=pd,o=wm
[3] java.naming.security.principal="cn=Manager,ou=jmsdev,ou=pd,o=wm"
[4] java.naming.security.credentials=JMSatAxyz
[5] com.webmethods.jms.naming.keystore=C:/Temp/BrokerSSL/NewCert6d.cert
[6] com.webmethods.jms.naming.encrypted=True
The preceding JMSAdmin command sequence:
1. Starts JMSAdmin using the properties file myJNDI.prop.
2. Sets the variable $bHost to a host server named Aries and the variable $bName to a Broker instance named InvControl.
3. Creates a new context, JAZZ, under the initial context.
4. Switches to the new context.
5. Binds a connection factory in JNDI to the lookup name xInvBroker for a connection to the Broker named InvControl on the host server Aries (default port).
6. Binds a topic to lookup name xNewSuppliers called newSuppliers.
7. Ends the JMSAdmin interactive session.