+

Search Tips | Advanced Search

Verify the solution

Verify that the source queue manager can put a message onto the remote queue. Verify that the target queue manager can get the message from the queue.


About this task

Use the sample applications, amqsput and amqsget to verify the solution.


Procedure

  1. Send a message to the target queue manager, QM2 from the source queue manager.
    1. In the command-line interface, type:
      amqsput QUEUE.ON.QM2 QM1
      
      You must use the name of the remote queue definition to send the message to the target queue manager. The following message is displayed:
      Sample AMQSPUT0 start
      target queue is QUEUE.ON.QM2
      
    2. Type Hello world., press Enter twice.

  2. Get the message on the target queue manager.
    1. In the command-line interface, type:
      amqsget RECEIVEQUEUE QM2
      
      The following message is displayed:
      Sample AMQSGET0 start
      message <Hello world.>
      no more messages
      Sample AMQSGET0 end
      


Results

The target queue manager received the message from the source queue manager, verifying that point to point communication is achieved.


What to do next

To add security to the solution, follow the instructions in Securing the point-to-point topology. Parent topic: Implement the solution Previous topic: Create the distributed queue manager topology

Last updated: 2020-10-04