Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Coding Messaging Client Applications | JMS Request-Reply Application with a Message Selector | Client Startup
 
Client Startup
To start the server, execute a statement such as the following from the command line:
java wmjms.ServerApplication East myServerFactory
customerSample myServerAdmin
where the first command line argument (in this case, East) is the region to be placed in the message selector, myServerFactory represents the name of the server connection factory, customerSample is the name of the customer request topic to be published, and myServerAdmin is the JNDI lookup name for the message consumer for server admin commands.
To start the requestor application, execute a statement such as the following from the command line:
java wmjms.RequestorApplication myRequestorFactory customerSample
where myRequestorFactory is the name of the requestor connection factory, and customerSample is the name of the request topic to be published.
To run the admin client application that shuts down the server application, execute a statement such as the following from the command line:
java wmjms.AdminClient shutdown