There are many ways of arranging your routing on the WebSphere MQ system to
test the transmission of a message. One method is to define queue
manager aliases for each WebSphere MQ Everyplace queue manager that the bridge
knows about. This document describes how to use the resultant
configuration to send a message to the WebSphere MQ Everyplace queue.
- Select the WebSphere MQ First Steps program from the WebSphere MQ Client v
5.1
- Select the API exerciser from the 'First Steps'
screen
- In the 'API Exerciser Queue Managers' screen:
- Select the WebSphere MQ queue manager to which the bridge is
connected. (The example is called MQA)
- Check the Advanced mode checkbox
- Click the MQCONN button
- Select the Queues tab to display the 'Queues' screen
- Select MQOPEN to display the 'MQOPEN Selectable
Options' screen
- In the 'MQOPEN Selectable Options' screen:
- Make sure that MQOO_INPUT_AS_Q_DEF is not selected
- Make sure that MQO_OUTPUT is selected
- Fill in the ObjectName field with the name of the queue that
you wish the message to go to on the WebSphere MQ Everyplace queue
manager. (The example is called Q1)
- Fill in the ObjectQMgrName field with the name of the WebSphere
MQ Everyplace queue manager that you wish the message to go to. (The
example is called ExampleQM)
- Click OK to open a route to the queue.
- In the 'API Exerciser Queues' screen:
- Click the MQPUT button to display the 'MQPUT -Argument
Options' screen
- In the 'MQPUT - Argument Options' screen:
- Type in your message
- Click OK to send the message to Q1 on
ExampleQM on the WebSphere MQ Everyplace system
© IBM Corporation 2000, 2003. All Rights Reserved