Configure the response mode
- Last UpdatedDec 03, 2024
- 2 minute read
Use Response Type to configure whether calls to the MES middleware are executed synchronously or asynchronously. The following response types can be selected:
-
With Response (Synchronous)
When you select this mode, the object waits for a response from the MES middleware after submitting a request to the middleware to write the data in the MES database. If you select this mode, you will receive notifications, such as messages are successfully delivered or messages are not delivered due to system or communication errors. The following diagram illustrates the With Response mode in the SRO.

-
Without Response (Asynchronous)
When you select this value, a call from the MES middleware is sent to the message queue, and the object does not wait for a response. If you select this mode, you will not receive notifications about the delivery status of messages for the SRO calls.
The calls are submitted to the message queue when it communicates with the object. An exception is logged each time the object is unable to submit the message to the message queue. Rejected messages are stored in the Rejected Messages table in the MES database. MES middleware can reject messages due to system or communication errors or other errors such as invalid inputs. The following diagram illustrates the Without Response mode in the SRO.

Note: To allow an SRO to log messages in the Message Queue while in Without Response mode, an Anonymous Logon user with the Send Message privilege must be added to the MESAsyncQueue on the MES middleware server. Otherwise, the messages will not be logged. For more information, see Add an anonymous logon user to MESAsyncQueue.
You can view, edit, and resubmit rejected messages using the Rejected Message Viewer feature in the MES Client application. For information about using the Rejected Message Viewer feature, refer to the MES Client User Guide.
If Without Response is selected as the response type:
-
The Maximum Retrieval Hours field becomes available. Rejected messages that occurred up to the number of previous hours entered here will be retrieved. The range of values is 1 to 100. The default is 72. Every hour, the object will set the Time filter to a value in the past that is the number of hours entered in this box from the current time.
-
The Auto Reset field is automatically turned on.
Note: The Auto Reset field cannot be turned off when Without Response is selected.
-