Creating a multipart message

Before you start:

To complete this task, you must have completed the following tasks:

A multipart message occurs when you embed a message within another message. To create a multipart (embedded) message:

  1. Switch to the Broker Application Development perspective.
  2. 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.
  3. In the Outline view, add one of the following objects to your message model:
    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.
  4. Display the Properties tab of the Message Definition editor by clicking Properties in the bottom left corner of the editor area.
  5. 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
  6. In the Details view, make the following changes to the displayed logical properties:
    1. In the Composition drop-down list, click message.
    2. 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 Content Validation properties for complex types.
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.