Accessing the WebSphere MQ header
Draft comment:
This topic was viewed 4 times since its publication
You can access the WebSphere® MQ header using Java™, or the mediation flow component.
This topic was viewed 4 times since its publication
In addition to the standard function selector and data handler configuration, the WebSphere MQ binding provides optional configuration for custom header data bindings.
Standard WebSphere MQ headers are automatically parsed by the binding. These include:
- MQMD (MQ Message Descriptor)
- MQRFH (MQ Rules and Formatting Header)
- MQRFH2 (MQ Rules and Formatting Header 2)
- MQIIH (MQ IMS Information Header)
- MQCIH (MQ CICS® Information Header)
- MQOpaqueHeader
The MQOpaqueHeader data binding, processes unrecognized MQ headers in a standard MQ format. It creates a DataObject with a structure ID, version, structure length, encoding, CCSID, format, and flags. The remaining data is set into a byte array. To fully parse user-defined headers, you must use a custom WebSphere MQ data binding. This is described in more detail in Using Java to access the WebSphere MQ header.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15