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.
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 Note: As a best
practice, use
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:
|