MRM Custom wire format: Multipart messages
The Custom Wire Format (CWF) supports both the Message Identity technique and the Message Path technique of identifying embedded messages within a multipart message.
Alternatively, you can resolve an embedded message by using ESQL or Java™ to identify the message. The first message that you reference in this way is assumed to be the selected message. This technique works in an identical manner to unresolved choice handling.