Testing communication between the workstations

 

Finally, use the following steps to test the communication between the sender and receiver:

  1. On the sender workstation, in a new command window, put a message on the queue by entering the following command:
    amqsput LOCAL.DEF.OF.REMOTE.QUEUE
    This puts the message to the local definition of the remote queue, which in turn specifies the name of the remote queue.

  2. Type the text of the message, then press Enter twice.

  3. On the receiver workstation, get the message from the queue by entering the following command:
    amqsget APPLE.QUEUE
    The sample program starts, and your message is displayed. After a short pause, the sample ends and the command prompt is displayed again.

The verification of the server-to-server installation is now complete. You are ready to start using WebSphere MQ (see the WebSphere MQ System Administration Guide).

 

Parent topic:

Verifying a server-to-server installation