The following information describes the use of the example application
file, examples.application.Example7. This example behaves
in a similar way to the MQSeries® Everyplace® programming example examples.application.Example1 and
uses the basic WES adapter for communications.
- Follow steps (1) and (2) of the General operation procedures.
- Configure the client's TCP/IP settings as in step (5) of General operation.
- Edit the example file ...\Java\examples\application\Example7.java inserting
a valid user ID and password, and then recompile the application.
- Restart the server.
- Run the Example7 program using the following command:
java examples.application.Example7 Server client.ini
where
- Server
- is the name of the remote queue manager (that the client already knows
how to reach)
- client.ini
- points to the client's .ini configuration file.
The application starts the client queue manager, authenticates
with the proxy, puts a message to server and then gets a message from the
server.