Verifying 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.
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 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
- Type Hello world., press Enter twice.
-
In the command-line interface, type:
-
Get the message on the target queue manager.
-
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
-
In the command-line interface, type: