Using the application example

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.

  1. Follow steps (1) and (2) of the General operation procedures.
  2. Configure the client's TCP/IP settings as in step (5) of General operation.
  3. Edit the example file ...\Java\examples\application\Example7.java inserting a valid user ID and password, and then recompile the application.
  4. Restart the server.
  5. 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.

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.