Changing the parser used in a message flow

If you need to change the parser that is used in a message flow, use the ResetContentDescriptor node to request that the message is reparsed by a different parser.

About this task

Use the ResetContentDescriptor node to set new message properties that are used when the message bit stream is next parsed by a subsequent node in the message flow.

For example, if the format of an incoming message is unknown when it enters a message flow, the BLOB parser is started. Later on in the message flow, you might decide that the message is predefined as a message in the MRM domain, and you can use the ResetContentDescriptor node to set the correct values to use when the message is parsed by a subsequent node in the message flow.

You can select from the following parsers:
  • DFDL
  • XMLNSC
  • JSON
  • DataObject
  • XMLNS
  • JMSMap
  • JMSStream
  • MIME
  • BLOB
  • XML (this domain is deprecated; use XMLNSC)
  • IDOC (this domain is deprecated; use MRM)
  • MRM

If you specify MRM, XMLNSC, DataObject, or IDOC as the new parser, you can also specify a different message template (message set, message type, and message format).

Whether or not the node reparses the message straight away depends on the settings of the Parse timing option in the node properties. Parse timing is, by default, set to On Demand, which causes parsing of the message to be delayed. For more details on controlling when the message is parsed, see Parsing on demand.