Execution Plan

Configuring Execution plan

You can configure execution plans through the management console as explained below or by manually adding an XML file as explained in step 5.

  1. Start the CEP, log in to its management console, select Execution Plans and click Add Execution Plan.

  2. Enter details in the form that appears and click the Add Execution Plan button at the end of the form. For example,

    Event details
    The fields in the above configuration are described below:

  3. After an execution plan is successfully created, you can change its configuration and redeploy it. To do this, click the Edit link associated with it.

  4. An XML based editor opens allowing you to edit the event builder configuration from the UI itself, without having to edit the file in the file system. Do your modifications and click Update.

  5. Alternatively, you can specify an execution plan configuration using an XML file and save it in <PRODUCT_HOME>/repository/deployment/server/executionplans directory, which is the execution plan deployment directory. Since hot deployment is enabled, you can simply add/remove files to deploy/undeploy from the server.

    Create the XML file with the following XML based configurations. Execution plan implementation must start with <executionplan> root element as in the example below:

    Exported Streams


For more details on creating execution plans, Please refer the official documentation Here.