Table of Contents Previous Next PDF

Understanding the Tuxedo MQ Adapter

Understanding the Tuxedo MQ Adapter
This chapter contains the following topics:
Accessing WebSphere MQ With and Without the Tuxedo MQ Adapter
WebSphere MQ is an XA compliant resource manager, and it is possible to access WebSphere MQ directly from Tuxedo server programs that issue MQ APIs such as MQGET and MQPUT1. Such server programs can be placed in a group associated with the WebSphere MQ Resource Manager, and no adapter program is required to access such servers.
Some customers have existing WebSphere MQ programs that they want to access from Oracle Tuxedo without having to modify their MQ programs or to write any MQ code on the Tuxedo side of their applications. For these customers, Oracle has developed the MQ Adapter for Tuxedo 10.0. The Oracle MQ Adapter for Tuxedo supports both transactional and non-transactional access to WebSphere MQ applications and data.
Overview of the Oracle MQ Adapter for Tuxedo
The Oracle MQ Adapter for Tuxedo 10.0 provides communication between IBM WebSphere MQ applications and Oracle TUXEDO applications. The MQ Adapter consists of three TUXEDO servers:
The TMQUEUE_MQM server handles tpenqueue() and tpdequeue() requests.
These servers are managed in the TUXEDO environment. Figure 1‑1 illustrates the flow of data when a tpcall () is issued from a TUXEDO client to an WebSphere MQ application.
Figure 1‑1 Data Flow for tpcall () from TUXEDO to WebSphere MQ
The TUXEDO client calls the service advertised by the Tuxedo to WebSphere MQ server (TM_MQO). The configuration of the service dictates the queue manager name, queue name, and reply queue related to the service. The MQ Adapter then places the request on the WebSphere MQ queue to be processed by the WebSphere MQ application. The MQ Adapter waits for the reply message on the output queue. When the MQ Adapter receives the reply, it returns the response data to the client's outstanding tpcall().
The TMQUEUE _MQM server handles tpenqueue() and tpdequeue() requests from clients who want to place messages on WebSphere MQ queues. Figure 1‑2 shows the enqueuing and dequeuing message flows:
Figure 1‑2 Message Flow for tpenqueue () and tpdequeue ()
The WebSphere MQ to Tuxedo server (TM_MQI), processes service requests from WebSphere MQ applications to TUXEDO servers. Figure 1‑3 illustrates the data flow for inbound requests:
Figure 1‑3 Data Flow for Inbound Service Requests
The WebSphere MQ to Tuxedo server (TM_MQI) monitors specified queues for requests. When TM_MQI receives a request, it issues a tpcall() request to the designated server. It then places the response data in the reply queue specified in the original request

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.