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. For further information about using these three options see Content Validation properties for complex types.
Note: There are a number of different ways to create a multipart message depending on the physical format you that are working with. For further information on embedding a message within another message see the concept topics listed below.
Related concepts
Multipart messages
Custom wire format - Multipart messages
XML wire format - Multipart messages
Tagged/delimited string format - Multipart messages
Related tasks
Working with message model objects
Configuring message model objects
Related reference
Complex type logical properties
Global group logical properties