Corporate Info | News | Solutions | Products | Partners | Services | Events | Download | How To Buy
e-docs.beasys.com | Search | PDF Files | Contact
BEA eLink Adapter for MQSeries Home | Prev | Next | Table of Contents |
Running the eLink Adapter for MQSeries consists of the following basic tasks:
Initiating a TUXEDO-to-MQSeries Request
Initiating an MQSeries-to-TUXEDO Request
Sending and Receiving Messages to and from MQSeries
Booting the Servers The eLink Adapter for MQSeries servers boot as part of the TUXEDO application using standard TUXEDO utilities, such as tmboot. The eLink Adapter reads the server configuration files and attempts to connect to the specified queue manager. Once the eLink Adapter establishes a connection with the queue manager, the eLink to MQSeries server (ELINKMQO) advertises the services associated with that queue manager. Initiating a TUXEDO-to-MQSeries Request TUXEDO clients can call services advertised by the eLink Adapter for MQSeries eLink to MQSeries server (ELINKMQO). A TUXEDO-to-MQSeries request consists of the following actions.
The eLink Adapter for MQSeries servers boot as part of the TUXEDO application using standard TUXEDO utilities, such as tmboot. The eLink Adapter reads the server configuration files and attempts to connect to the specified queue manager. Once the eLink Adapter establishes a connection with the queue manager, the eLink to MQSeries server (ELINKMQO) advertises the services associated with that queue manager.
tmboot
TUXEDO clients can call services advertised by the eLink Adapter for MQSeries eLink to MQSeries server (ELINKMQO). A TUXEDO-to-MQSeries request consists of the following actions.
The eLink Adapter uses the MQSeries Message Queue Interface (MQI) to forward these requests to the appropriate MQSeries queue.
The eLink Adapter retrieves response data (if any) from the designated reply queue and returns this data to the TUXEDO client.
MQSeries applications can request TUXEDO services via the MQSeries to eLink server ELINKMQI. An MQSeries-to-TUXEDO request consists of the following actions.
The eLink Adapter retrieves the message from the incoming queue.
The eLink Adapter forwards the message data to the appropriate service.
The eLink Adapter places response data (if any) on the specified reply queue.
The TMQUEUE_MQM server processes tpenqueue and tpdequeue requests, as well as tpcall requests, from a TUXEDO server.
tpenqueue
tpdequeue
tpcall
The syntax for a tpenqueue request is as follows:
Listing 4-1 Syntax for tpenqueue requests
tpenqueue (qspace, qname, qctl, data, len, flags)
tpenqueue (
qspace, qname, qctl, data, len, flags
)
A tpenqueue request requires all parameters shown previously. Following are brief descriptions of these parameters. For more information, refer to the BEA TUXEDO Programmer's Guide.
-s
-s myname:MQMQUEUE
Default is MQMQUEUE.
The syntax for a tpdequeue request is as follows:
Listing 4-2 Syntax for tpdequeue requests
tpdequeue (qspace, qname, qctl, data, len, flags)
tpdequeue (
A tpdequeue request requires all parameters shown previously. Following are brief descriptions of these parameters. For more information, refer to the BEA TUXEDO Programmer's Guide.
Default is MQMQUEUE
Processing a tpcall request with the eLink Adapter for MQSeries requires no special parameters. The only requirement is that, if you request a response, the REPLYTOQ must be specified in the server configuration file. Refer to Configuring eLink Adapter for MQSeries for more information on the server configuration files. Refer to the BEA TUXEDO Programmer's Guide for more information on tpcall.