Creating test messages for route tracing

Overview

Route tracing requires that messages have a specific structure. They must have a message root element in the namespace http://fabric.fusesource.org/schema/messages.

Procedure

To create a test message:

  1. In Project Explorer, right-click the project to open the context menu.

  2. Select New > Fuse Message to open the Fuse Message File wizard.

  3. In the RouteContainer field, enter the path of the folder in which you want to store the message.

    Use the Browse... button to help locate the proper folder.

  4. In the File name field, enter a name for the message.

  5. Click Finish.

    The new message opens in the XML editor.

  6. Fill in the contents (body and header text) of the message.

  7. On the menu bar, click File > Save to save the test message.

Related topics

Tracing messages through a route
New Fuse Message