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
- Send a message to the target queue manager, QM2 from the source queue manager.
- In the command-line interface, type:
amqsput QUEUE.ON.QM2 QM1You 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- Type Hello world., press Enter twice.
- Get the message on the target queue manager.
- In the command-line interface, type:
amqsget RECEIVEQUEUE QM2The 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