Apama Documentation : Developing Apama Applications : Developing Apama Applications in EPL : Defining Event Listeners : Defining event expressions with one event template : Listening for one event
Listening for one event
Consider the following on statement:
on StockTick() processTick();
This event listener is watching for one StockTick event. The values of the StockTick event's fields are irrelevent, as indicated by the empty parentheses. When this event listener finds a StockTick event, it triggers and terminates. When the event listener triggers, it causes the correlator to execute the processTick() action.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback