Editing a message assembly

You can view, edit, and create message assemblies by using the IBM® App Connect Enterprise Toolkit.

Before you begin

Read the following topics:

About this task

A message assembly is an object that is used to represent an instance of a message at a given point in time as it is being processed by a message flow, and the contents of the message assembly are accessed and modified by each message flow node as the message is processed. The message assembly contains four trees:
  • Message tree
  • Environment tree
  • Local environment tree
  • Exception list tree

The message headers and payload are under the message tree in the message assembly.

You can save a message assembly from the Flow Exerciser when you click on the wire connection in the 'blue-line' view. Alternatively, you can save all message assemblies by selecting the Save All button in the Flow Exerciser toolbar.

When you record messages that pass through a message flow, each recorded message is stored as a .mxml file, which is a serialized form of a message assembly. These .mxml files can then be used in your integration tests.

When you have created a test case from a recorded message, you can view or edit the generated .mxml files by using the Message Assembly Editor in the IBM App Connect Enterprise Toolkit. You can also create message assemblies through a test project in the Toolkit.

Procedure

You can view and edit a recorded message, or create a message assembly, by completing the steps in the following tasks:

For example message assemblies, see the following topics: