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
The WebSphere MQ-bridge's transmission queue listener acts in a
similar way to a WebSphere MQ connection, pulling messages from a WebSphere MQ
transmission queue, and delivering them to the WebSphere MQ Everyplace
network. It follows the WebSphere MQ Everyplace convention in that if a
message cannot be delivered, an undelivered message rule is
consulted to determine how the transmission queue listener should
react. If the rule indicates the report options in the message header,
and these indicate that the message should be put onto a dead-letter queue,
the message is placed on the WebSphere MQ queue (on the sending
queue manager).
© IBM Corporation 2002. All Rights Reserved