Understanding Event Functionality

How to:

Events are generated as a result of activity in an application system. You can use the application to trigger an event. For example, you can use it to trigger an update, insert, or delete an event.

After you create a connection to your application system, you can receive events using iWay Service Manager. To receive an event, you must fist create a channel. The events will be received using a TCP or HTTP listener.

Procedure: How to Configure a Listener

  1. Under the Components section on the left pane, click Listeners, as shown in the following image.

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

  2. Click Add.

    The Select listener type pane opens, as shown in the following image.

  3. Select TCP and click Next.
  4. Provide the port number specified in iwoevent.cfg, as shown in the following image.
  5. Click Next and then provide a name for the listener example in the Name field (for example, JDE_910_Event_listener), as shown in the following image.

  6. Click Finish.

Procedure: How to Configure a Process and Define a Route

  1. In the left pane under Conduits, click Processes, as shown in the following image.

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

  2. Click Add.

    The following pane opens, which allows you to specify a name for the new process definition.

  3. Specify a process name (for example, JDE_910_process) and click Finish.

    The Construct Process pane opens, which allows you to construct the new process (for example, JDE_910_process) by adding supported components, as shown in the following image.

  4. Select JDEEnterpriseOne_910 and click Finish.
  5. In the Conduits section on the left pane, click Routes, as shown in the following image.
  6. Click Add.

    The New Route Definition pane opens, as shown in the following image.

  7. Specify a route name (for example, JDE_910_Route) and click Finish.

    The Construct Route pane opens, which allows you to construct the new route (for example, JDE_910_Route) by associating a configured process, as shown in the following image.

  8. Click Add.

    The Select component type pane opens, as shown in the following image.

  9. Select Process and then click Next.

    The Select a process definition pane opens, as shown in the following image.

  10. Select the configured process (for example, JDE_910_Process) and click Finish.

Procedure: How to Define an Inlet

  1. In the Conduits section on the left pane, click Inlets.

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

  2. Click Add.

    The New Inlet Definition pane opens, as shown in the following image.

  3. Specify an inlet name (for example, JDE_910_inlet) and click Finish.

    The Construct Inlet pane opens, which allows you to construct the new inlet (for example, JDE_910_Inlet) by associating supported inlet components, as shown in the following image.

  4. Click Add.

    The Select component type pane opens, as shown in the following image.

  5. Select Listeners and then click Next.

    The Select a listener definition pane opens, as shown in the following image.

  6. Select the configured listener (for example, JDE_910_Event_Listener) and click Finish.

Procedure: How to Construct a Channel

  1. In the Conduits section on the left pane, click Channels.

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

  2. Click Add.
  3. Specify a channel name (for example, JDE_Event_Channel), and click Finish, as shown in the following image.

    The Construct Channel pane opens which allows you to construct the new channel (for example, JDE_Event_Channel) by associating supported channel components.

  4. Click Add.

    The Select component type pane opens, as shown in the following image.

  5. Select Inlet and then click Next.
  6. Select the defined inlet (for example, JDE_910_Inlet) and click Finish, as shown in the following image.

    You are returned to the Construct Channel pane, as shown in the following image.

  7. Click Add.

    The Select component type pane opens.

  8. Select Route and then click Next, as shown in the following image.

    The select one or more route definitions pane opens, as shown in the following image.

  9. Select the defined route (for example, JDE_910_Route) and click Finish.

    You are returned to the Construct Channel pane, as shown in the following image.

  10. In the Conditions column, click the minus sign icon for the route (to set as default) and then click Add.

    The Select component type pane opens, as shown in the following image.

  11. Select Outlet and then click Next.

    The Select one or more outlet definitions pane opens, as shown in the following image.

  12. Select default.outlet and then click Finish.

    You are returned to the Construct Channel pane, as shown in the following image.

  13. Select all three channel components and then click Build.

    The build results for the channel are displayed, as shown in the following image.