Creating new monitor files for EPL applications
EPL files define monitors and/or event types.
Monitor definitions and event type definitions are in .mon files.
For more information about EPL, see
Getting Started with Apama EPL. For more information on the editing features available when writing EPL code, see
Editing Apama files.
To add a new monitor file to an Apama project
1. In the Project Explorer view or the Workbench Project View, right-click the monitors folder of the project where you want to add the monitor file and select New > EPL Monitor.
2. In the New EPL Monitor dialog, enter information in the following fields:
a. The Containing folder field is the folder where the file will be saved. By default, this is the folder of the currently selected project, but you can select another folder using the Browse button.
b. In the Monitor name field, specify the name of the new monitor. This name is also used as the file name. It is recommended that you use TitleCase with the monitor name. The monitor name must not contain special characters, except for the dollar ($) and underscore (_) characters.
Specifying the .mon file extension is optional as Software AG Designer will add the .mon file extension. Software AG Designer will not let you specify anything except .mon as a file extension.
c. The Package field is optional. Information in this field is an EPL package name.
3. Click Finish.
The new file now appears in the Project Explorer view or the Workbench Project View under the project that contains it, and the EPL file opens in the EPL editor. The EPL editor provides a monitor template with the specified monitor name.
4. In the EPL editor, add the desired EPL code and save the file.