Adding service monitor bundles to your project
Depending on what your Apama application does, it might require one or more provided service monitors. Apama organizes service monitors into bundles. To use the service, you add the bundle to your Apama project in Software AG Designer.
To add a bundle to your project:
1. In the Apama Developer perspective, open the project that you want to add the bundle to.
2. In the Developer Project View, right-click the project name and select Properties from the menu that appears.
3. In the Properties dialog, select MonitorScript Build Path.
4. Select the Bundles tab.
5. Click Add to display a list of Apama bundles.
6. Select the bundle you want to add.
7. Click OK twice.
The bundle now appears in the Developer Project View panel. Expand the bundle directory to see the contents. To understand exactly what each service monitor provides, open the service’s EPL file in Software AG Designer. The comments in the EPL file explain the purpose of each service monitor and how to use it.
You can also write your own service monitors. Best practices for doing this include:
Follow good engineering practices for defining message exchange protocols
Copy the conventions used in the Apama-provided service monitors as these monitors implement common patterns.