Creating test messages for route tracing

Overview

Route tracing works with any kind of message structure. The Fuse Message wizard creates an empty .xml message, leaving the structuring of the message entirely up to you.

[Note]Note

If the folder where you want to store the test messages does not exist, you need to create it before you create the messages.

Creating a new folder to store test messages

To create a new folder:

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

  2. Select New > Folder to open the New Folder wizard.

    The project root appears in the Enter or select the parent folder field.

  3. Expand the nodes in the graphical representation of the project's hierarchy, and select the node you want to be the parent folder.

  4. In Folder name, enter a name for the new folder.

  5. Click Finish.

    The new folder appears in Project Explorer, under the selected parent folder.

Creating a test message

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 New File wizard.

  3. Expand the nodes in the graphical representation of the project's hierarchy, and select the folder in which you want to store the new test message.

  4. In File name, enter a name for the message, or accept the default (message.xml).

  5. Click Finish.

    The new message opens in the XML editor.

  6. Fill in the message contents, both body and header text.

    [Note]Note

    You may see the warning No grammar constraints (DTD or XML Schema) referenced in the document, depending on the header text you entered. You can safely ignore this warning .

Related topics

Tracing messages through a routing context
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.3/html/Tooling_Tutorials/RiderTutorialTrace.html