Red Hat Training

A Red Hat training course is available for Red Hat Fuse

4.10. Configuring the route editor

Overview

Using the JBoss Developer Studio's preference panel, you can specify many aspects of the route editor's behavior:
  • The default language to use for expressions in EIPs
  • The method for labeling nodes on the canvas
  • The direction in which patterns flow on the canvas when creating routes
  • Whether the canvas displays a grid overlay
  • Colors used for various diagrammatic components

Procedure

To configure the route editor:
  1. On the menu bar, select JBoss Developer StudioPreferences to open the Preferences dialog.
  2. Select Fuse ToolingEditor to show the Editor Preferences.
  3. Select, from the drop-down list, the default language you want to use for expressions in EIP nodes.
  4. Click the checkbox next to If enabled the ID values will be use for labels if existing to enable or disable using node IDs as labels.
  5. Select, from the drop-down list, the direction in which you want the route editor to align the patterns in a route.
  6. Click the checkbox next to Show diagram grid to enable or disable displaying the grid overlay on the canvas.
  7. Click Apply to apply the changes to the Editor Preferences.
  8. Select Fuse ToolingColors to show the Colors Preferences.
  9. For each component whose color you want to change, click its color icon to open the color palette, and then select a color from the palette.
  10. When done, click Apply and then OK, to close the Preferences dialog.
    You can restore the route editor's original color scheme at any time by returning to Fuse ToolingColors and clicking Restore Defaults.

Related topics

Editor