Accessing headers

If the input message received by an input node includes message headers that are recognized by the input node, the node invokes the correct parser for each header. You can access these headers using ESQL.

About this task

Parsers are supplied for most IBM® MQ headers. The following topics provide some guidance for accessing the information in the MQMD, MQRFH2, and MQPCF headers, which you can follow as general guidance for accessing other headers also present in your messages.

Every header has its own correlation name, for example, MQMD, and you must use this name in all ESQL statements that refer to or set the content of this tree:

For further details of the contents of these and other IBM MQ headers for which IBM App Connect Enterprise provides a parser, see Element definitions for message parsers.

Accessing transport headers

About this task

You can manipulate IBM MQ, HTTP, and JMS transport headers and their properties without writing Compute nodes:
  • Use the MQHeader node to add, modify, or delete MQ Message Descriptor (MQMD) and MQ Dead Letter Header (MQDLH) headers.
  • Use the HTTPHeader node to add, modify, or delete HTTP headers such as HTTPRequest and HTTPReply.
  • Use the JMSHeader node to modify contents of the JMS Header_Values and Application properties so that you can control the node's output without programming.