Generating Events

How to:

This section describes how to run the channel (sales.channel) by copying the sample input batch transaction (SalesTransactions.xml) into the incoming folder. This will execute the process flow (sales.process) and as the sales.process.tap1 tap is hit for every transaction, the conditional expression that was provided for the tap is evaluated and two business events are generated.


Top of page

x
Procedure: How to Generate Events

To generate events:

  1. On your file system, copy the SalesTransactions.xml file that was created earlier into the following input directory:
    C:\Sales_Demo\sales_data\in
  2. Click Tools in the top pane of the iWay Service Manager Administration Console.

    The iWay Service Manager Tools pane opens.

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

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

    In the Event Cloud tab, the three business events 'sales.region.ca', 'sales.region.fl' and 'sales.region.ny' are created and shown. The 'sales.region.ca' event is displayed with a larger font because this event occurred more than the other two events during the process of the batched sales transaction.

  4. Click the Events tab.

    The contents of the Events tab are displayed, as shown in the following image.

  5. Scroll down the list until you find the following events:
    • sales.region.ca
    • sales.region.fl
    • sales.region.ny

    Initially, these three events do not have any associated feeds. Feeds represent the next phase in the iWay Enable configuration process where possible calculations are performed on events and the information is exposed to available applications.

    Now that real-time data is being captured as the transactions pass through the process flow (sales.process), this data can be used to create feeds, which can serve data being updated during real-time to a Web application.


iWay Software