Configuring a generate route detail

On the Route Messages or Route Replies tab, double-clicking the Type opens the Route Details dialog box.

Note: The Generate route detail is similar to Raw, except that there is only the Procs option.

The generate route detail only controls a message route, using a single user-written Tcl procedure. It does not usually modify the source message or directly change its metadata, although it has that option.

The input for a generate procedure is a keyed list of remaining route details and the source message. The input to a generate procedure is a keyed list of remaining route details. Completed route details are not included in the list.

The generate detail can:

  • Modify the input detail list. For example, it can insert new details into the list or remove existing details.
  • Add additional generate details to the route detail list that are called when processed.
  1. Click Edit next to the Procs.
    This opens the TPS Editor.
  2. Click Add to select the procedures to run before message transmission.
    This opens the TPS Properties dialog box.
  3. Select Proc or Java Class to specify a Tcl procedure or Java class to run.
  4. Specify any arguments.
  5. Click OK.
    This returns you to the TPS Editor.
  6. Click OK on the TPS Editor to close it.
  7. Select Enabled to enable the route. Clearing the check box disables the route.
  8. Click OK on the Route Details dialog box.