Connect MQ form - Completing the Response tab
Complete the optional Response tab to specify the data read at runtime from the incoming response message. Define how Pega Platform maps the data from fields in the message header or parameter values in the message body to the clipboard.
If you configured an alias queue for Connect MQ rules in earlier versions of Pega Platform, after a upgrade to Pega Platform 8.6, Connect MQ rules do not work. To resolve this issue, create the following dynamic system settings and set the corresponding default values:
- "mq/pmo" = 0
- "mq/gmo" = 0
- "mq/oo_request" = 1040
- "mq/oo_response" = 16
For more information, see Creating a dynamic system setting.
When using a dynamic queue, this tab is required.
Response headers
Field | Description |
Field |
Select a MQ message header field from the selection list:
|
Description | Enter a text description. |
Map to | Select Clipboard to indicate that the system maps the data value from the scalar property specified in the Map to key to the clipboard. |
Map to key | Enter the property name to which the data is mapped. |
Response data
If the response is a Datagram (Msg Type is 8), no response data is received. Leave this array blank.
Field | Description |
Data type | Select the external data type of the response parameter:
String , Integer , Bytes ,
All Chars , All Bytes , Double ,
or Boolean . To read the entire message buffer as one
variable-length text or binary data, specify All Chars or All Bytes . Do not use
String because it prepends an integer of the length of the
string to the data. |
Offset | Optional. Enter a number of bytes. At runtime, the system advances the cursor within the message buffer to this index position before it reads the data. |
Length |
Optional. Used only for text (
String
) and binary
(Bytes
) data types. Enter a fixed length for the data being
read.
If you do not specify a data length for a text or binary value, the system reads an integer representing the true string length from the data buffer immediately before it reads the value. |
Description | Enter a text description of this data mapping. |
Map to | Select how the system processes response values. The choice you make for this
field depends on what you select for data type :
If more choices appear, they each identify a custom function rule in a
|
Map to key | Identify a destination for the Map to operation:
|
Previous topic Connect MQ form - Completing the Request tab Next topic More about Connect MQ rules