A multipart message occurs when you embed
a message within another message. To create a multipart (embedded) message:
Switch to the Broker Application Development perspective.
Ensure that the Outline view is visible in the Broker Application Development perspective of
the workbench. If the Outline view is not
visible, from the workbench menu, click Window
> Show View> Outline.
In the Outline view, add one of the following objects to your message
model:
A complex type (for further information on completing this task see Adding a complex type)
A global group (for further information on completing this task see Adding a global group)
A local group (for further information on completing this task see Adding a local group)
Tip: You can also use a local ANONYMOUS complex
type when creating a multipart message. For further information see Adding a complex type to an element.
Display the Properties tab of the Message
Definition editor by clicking Properties in the bottom
left corner of the editor area.
In the Properties Hierarchy, under Logical properties,
click one of the following, depending on which of these you added in step
3:
Complex Type
Global Group
Local Group
In the Details view, make the following changes to the displayed
logical properties:
In the Composition drop-down list, click message.
In the Content validation drop-down list,
click Open, Closed or Open
Defined, depending on your requirements. Note that if the embedded
message is defined in a different message set, then you must click Open. For further information about using these three options see MRM content validation.
Note: There are a number of different
ways for the parser to identify an embedded message within a message bit
stream. For further information on identifying a message within another message
see the concept topics listed below.