Developing Apama Applications > Writing Correlator Plug-ins > Writing Correlator Plug-ins in Java > Sample plug-ins in Java
Sample plug-ins in Java
Apama provides sample correlator plug-ins written in Java, located in the samples\correlator_plugin\java directory of the Apama installation. The samples are:
*simple_plugin – a basic plug-in with one method that takes a string, and returns another string.
*complex_plugin – a plug-in that has several methods and handles more complex data types.
*enqueue_plugin – a plug-in that demonstrates passing contexts around and enqueueing events.
The samples\correlator_plugin\java directory contains the Java code for the samples, the EPL code for the Apama applications that call each of the plug-ins, the deployment descriptor files, and an Ant build.xml file for building all of the samples. The directory also contains a README.txt that describes how to build and run the samples as well as text files that depict what the output of the samples should be like.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.