Apama Documentation : Using Apama with Software AG Designer : Working with Projects : Adding resources to Apama projects : Creating new event definition files for EPL applications : Creating event definitions by adding EPL code
Creating event definitions by adding EPL code
To create an event definition by adding EPL code
1. In the Project Explorer view, right-click the project's eventdefinitions folder and select New > Event Definition from the pop-up menu. The New Event Definition dialog appears.
2. In the New Event Definition dialog, in the Generate Event Definition using field, select EPL Editor and click Next. The Choose output location for Event Definition dialog appears.
3. In the Choose output location for Event Definition 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 currently selected folder of the current project, but you can select another folder or project using the Browse button.
b. In the File name field, specify the name of the new file. Specifying the .mon 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.
4. Click Finish. The new event definition file is added to the specified folder in the project and the EPL file opens in the EPL editor.
5. In the EPL editor, add the desired EPL code and save the file.
Note, you can also create these types of event definitions by using the New > MonitorScript menu item; for details, see Creating new monitor files for EPL applications.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback