Apama 10.3.1 | Apama Documentation | Developing Apama Applications | Developing EPL Plug-ins | Writing EPL Plug-ins in Java | Sample plug-ins in Java | A more complex plug-in in Java
 
A more complex plug-in in Java
The complex plug-in sample can be found in the samples\correlator_plugin\java directory of your Apama installation.
The Java code for the ComplexPlugin class contains the public static methods: test1, test2, test3, and test4. It also contains an object, ComplexChunk that represents a complex type.
The complex_plugin.xml file is the plug-in's deployment descriptor and contains the <plugin> stanza that specifies the name, class, and description for the plug-in.
The sample's ComplexPlugin.mon file contains the EPL code for the Apama application. It imports the plug-in and calls the various testx methods.

Copyright © 2013-2019 | 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.