OpenTP1 Version 7 Description
This section gives an overview of communication using MQA message queuing.
A local UAP uses MQPUT to send an MQA message to the queue file in the local system. When MQPUT terminates normally, the message is placed in the local queue file, and the UAP performs its next process. The local queue manager containing the queue file then sends the MQA message to the queue manager in a remote system. The MQA message is placed in the remote queue file for processing by a remote UAP. If you want to communicate interactively, you can define MQPUT to wait for the response from the remote UAP.
Use MQGET to get MQA messages. The timing for receiving MQA messages depends upon whether the message-getting UAP is operating, as described below:
OpenTP1 can perform MQA message queuing as a transaction. After the UAP updates data, sends the MQA message to the queue manager, and the transaction is committed, the MQA message is placed in the queue file. If the transaction is rolled back, the MQA message in the queue file can be invalidated. For details of transaction, see 3.1 Transaction Control.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.