To override a static route using DVM:

  1. Double-click the mediator component to open the Mediator Editor.

  2. Under the Routing Rules section, scroll down to the routing rule that you want to modify.

  3. To the right of the Override Using field, click the button, identified by the green arrow. Figure 20-42 shows the Override Using field.

    Figure 20-42 Override Using Field Under Routing Rules

    Description of Figure 20-42 follows
    Description of "Figure 20-42 Override Using Field Under Routing Rules"

    The Override Routing dialog appears.

  4. Select Use Domain Value Map to create or use a domain value map. Figure 20-43 shows the Override Routing dialog.

    Figure 20-43 Override Routing Dialog

    Description of Figure 20-43 follows
    Description of "Figure 20-43 Override Routing Dialog"
  5. To the right of the Location field, click Create new DVM file, identified by the green plus (+) icon, to create a new DVM file. The Create Domain Map Value dialog appears.

    Note:

    You can also choose an existing DVM file by clicking Find existing DVM file, identified by the Search icon.

  6. In the Create Domain Map Value dialog, specify a DVM Name and select a Directory to store the DVM file. Click OK. The DVM File Created dialog appears.

  7. Click OK to confirm. The Override Routing dialog is now populated with the details of the new DVM. shows the Override Routing dialog after creating a new DVM.

    Figure 20-44 New Domain Value Map Details

    Description of Figure 20-44 follows
    Description of "Figure 20-44 New Domain Value Map Details"

    A new domain is created for each feature of the mediator that can be overridden. For example, as shown in Figure 20-44, the Filter domain is created for the mediator Filter Expression.

  8. Select a Key Domain corresponding to the lookup column for the DVM.

  9. To the right of the Value Expression field, click the Invoke Expression Builder icon to specify a value expression corresponding to the key domain. The Expression Builder dialog appears.

    Figure 20-45 Expression Builder

    Description of Figure 20-45 follows
    Description of "Figure 20-45 Expression Builder"
  10. Build the expression corresponding to the value expression for the domain key, and click OK. You can use the Help button for more information on the Expression Builder.

  11. Click OK in the Override Routing dialog.