Completing a to-do task for Message Logger primitives

Configure a Trace node or a Mapping node.

About this task

  • If the Message Logger primitive contains custom logging, the WebSphere® ESB conversion tool produces a Trace node.
  • Otherwise, the tool produces a Mapping node.
Proceed according to the messages that you receive.

CWWOC6010I

About this task

A Trace node was generated. Because the root of the mediation primitive is not / or /body, the ${Root} and ${Body} patterns in the node do not match the portion of the message that is logged in WebSphere Enterprise Service Bus. The Trace node is configured to log the entire message tree, using the pattern ${Root}.

Procedure

  1. In the IBM® Integration Toolkit, click the Trace node.
  2. On the Basic tab, if appropriate, change the Pattern property to define the parts of the message that are to be logged.

CWWOC6011I

Before you begin

The following scenario has detailed information about working with databases: Scenario: Using a message map to enrich a message with data from a database.

About this task

The mediation primitive contains database logging, and a Mapping node was produced. Create a connection to the database, and edit the node to create a map that replicates the information in the Message Logger primitive.

Procedure

  1. In the message flow, double-click the Mapping node to configure the map.
  2. Refer to the scenario for information details of how to make the database available at runtime.

CWWOC6012I

About this task

This message is issued whenever the WebSphere ESB conversion tool generates a Trace node.

Procedure

Take one of the following actions.

  1. Optional: Specify where trace is to be written by configuring the Trace node.
    1. In the IBM Integration Toolkit, click the Trace node.
    2. On the Basic tab, if appropriate, set the File path property to specify where trace is to be written.
  2. Optional: Configure other custom logging in IBM Integration Bus.

    For example, use a built-in message flow node to replicate the custom logging behavior, or use a JavaCompute node to execute custom logging code.

CWWOC6013I

About this task

The mediation primitive has a string that represents the message ID. The string, which is in the primitive Literal property, is {1}. The string was converted to ${Properties.CreationTime}, which is also unique, but is not an exact mapping.

Procedure

  1. In the IBM Integration Toolkit, click the Trace node.
  2. On the Basic tab, if appropriate, change the Pattern property to define the parts of the message that are to be logged.