Apama 10.3 | Apama Documentation | Using Apama with Software AG Designer | Working with Projects | Adding resources to Apama projects | Creating new files for JMon applications | Adding a JMon monitor
Adding a JMon monitor
* To add a new JMon monitor to an Apama project
1. In the Project Explorer view or the Workbench Project view, right-click the name of the project where you want to add the monitor and select New > Java Monitor . You can also select File > New > Other from the menu and then select Apama > Java Monitor from the Select a wizard dialog.
2. In the New Apama Java Monitor wizard, enter information in the following fields:
a. The Application field is the application to which you are adding the monitor.
b. In the Monitor name field, specify the name of the new monitor. This will become the name of the class and the Java file.
c. The Description field is optional.
d. The Apama Package field is optional; this is the package of the monitor inside the correlator.
e. Add a check to the Implement MatchListener check box if you want Software AG Designer to generate the skeleton code for the class's MatchListener interface.
f. The Source Folder field specifies the folder in the project to contain the file; by default this is java/src.
g. The Java Package field is optional; this is the package of the created Java class.
3. Click Finish. The name of the new class file now appears in the Project Explorer view or the Workbench Project view under the project that contains it and the .java file opens in the editor.
For more information about JMon applications, see Overview of Apama JMon Applications.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.