- 1 minutes to read

IBM Integration Bus, FAQ, Troubleshooting, Common Questions IBM Integration Bus, FAQ, troubleshooting, common questions How do I extract data from MQMD headers and LocalEnvironment?

How do I extract data from MQMD headers and LocalEnvironment?

How do I extract data from MQMD headers and LocalEnvironment?

Use [Search Field Expressions][] with special paths. Nodinite captures full message tree structure:

MQMD properties: MQMD.MsgId, MQMD.CorrelId, MQMD.Format, MQMD.Expiry, MQMD.Priority, MQMD.ReplyToQ, MQMD.ReplyToQMgr

LocalEnvironment paths: LocalEnvironment.Destination.MQ.DestinationData.queueName, LocalEnvironment.WrittenDestination.MQ.DestinationData.queueName, LocalEnvironment.Variables.MyCustomProperty

Example: Extract MQMD.CorrelId as Search Field "Correlation ID". Business users search by CorrelId to trace transaction across 6 message flows. Or extract LocalEnvironment.Variables.SourceSystem to filter events by upstream application.

UserProperties: Root.Properties.MessageSet, Root.Properties.MessageType, Root.Properties.MessageFormat. Useful for multi-format flows (XML, JSON, DFDL, MRM).



See all FAQs: [Troubleshooting Overview][]