Apama 10.3.1 | Apama Documentation | Developing Apama Applications | Developing Apama Applications in EPL | Defining What Happens When Matching Events Are Found
 
Defining What Happens When Matching Events Are Found
 
Using variables
Defining actions
Defining static actions
Getting the current time
Generating events
Handling the any type
Handling any values of different types with the switch statement
Assigning values
Defining conditional logic with the if statement
Defining conditional logic with the ifpresent statement
Defining loops
Exception handling
Logging and printing
Sample financial application
In a monitor, when the correlator detects a matching event, it triggers the action defined by the listener for that event. This section discusses what you can specify in the triggered actions.
In a query, when a match set is found, it triggers execution of the procedural code block in the find statement. A subset of the EPL constructs that are available in a monitor are available in a query. See Restrictions in queries to understand what is not allowed in a query.

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.