Configuring iWay Enable Taps

How to:

Two iWay Enable taps were generated by the process flow you created earlier using iWay Designer:

You must now configure these taps using the iWay Enable facilities in the iWay Service Manager Administration Console. By default, the taps are not activated and do not contain any expressions. Each tap can expose any number of events based on the conditional expressions and business logic being used. The use of the _expose() function allows the tap to create business events which will store the time stamped data for each occurrence.

Note: The following procedure describes how to configure the sales.process.tap1 tap. The configuration of the sales.process.tap2 tap is described in a later section, which will demonstrate the importance of updating taps in real-time without having to create new objects or recompile existing components.


Top of page

x
Procedure: How to Configure iWay Enable Taps

To configure iWay Enable taps:

  1. Click Tools in the top pane of the iWay Service Manager Administration Console.

    The iWay Service Manager Tools pane opens.

  2. In the left pane, select Views under the Real-time section.

    The Views pane opens, as shown in the following image.

    The Views pane is used to define and organize iWay Enable data and metadata. For example, key business objectives can be monitored by tapping and analyzing events.

  3. Click the Taps tab.

  4. Select the sales.process.tap1 tap in the Name column.

  5. Right-click the sales.process.tap1 tap and select Edit IFL (iWay Functional Language) from the context menu.

    The Edit IFL Expression dialog box opens.

  6. Enter the following expression in the top section of the Edit IFL Expression dialog box:
    _erules("SalesByRegion",xpath("/TRANSACTION/Region"))

    This expression calls an IFL function called _erules. The _erules("Rule name", input) function is used to call a Rule set. The arguments for the _erules() function are the name of the Rule set and the value to be passed onto the Rule set.

    In the sample above, the Rule set name "SalesByRegion" is called and passed on the value of the "Region" (xpath("/TRANSACTION/Region")) as an input to the Rule set. This is to create business events based on certain conditions defined by the "SalesByRegion" Rule set.

  7. Click save.

    You are returned to the Views pane, where the new expression is now added to the Expression column for the sales.process.tap1 tap.

    Note: You may need to refresh your Web browser after the expression is saved.

  8. Select the check box next to the sales.process.tap1 tap to activate this tap.

    You are now able to tap into incoming data through the process flow (sales.process) that was configured earlier and generate business events. The events will be associated with real-time feeds, ready to be incorporated into dashboards, composite applications, and other components.


iWay Software