To test the queue and queue manager, use the sample programs amqsput (to
put a message on the queue) and amqsget (to get
the message from the queue):
- To put a message on the queue, enter the following command:
amqsput ORANGE.QUEUE
The following message is
displayed: Sample amqsput0 start
target queue is ORANGE.QUEUE
- Type some message text, then press Enter twice. The following
message is displayed:
Sample amqsput0 end
Your
message is now on the queue and the command prompt is displayed again.
- To get the message from the queue, enter the following command:
amqsget ORANGE.QUEUE
The sample program
starts, and your message is displayed. After a short pause, the sample ends
and the command prompt is displayed again.
Verification of the local installation is now complete.