If you are using the IBM MQ Native protocol then it should detect the RFH2 header automatically, and you should see all the RFH2 headers and properties in the request meta-data:
Here, for example, the recorded RFH2 header contained two "folders", the first of which is the 'usr' folder. The 'usr' folder contained two properties, 'key1', which contains a string value of "value1", and 'key2' which contains an integer value of 5.
More specifically:
- Payload.class: specifies the type of the payload inside the MQ message, in this case, 'RFH'
- Payload.Folders.1.template: specifies the type of the first folder in the RFH2 header, in this case, 'usr'.
- Payload.Folders.1.Props.key1: specifies a value for the 'key1' property
- Payload.Folders.1.Props.key2: specifies a value for the 'key2' property
- etc.