Apama 10.15.4 | Developing Apama Applications | Developing Apama Applications in EPL | Defining Monitors | Spawning monitor instances
 
Spawning monitor instances
 
How spawning works
Sample code for spawning
Terminating monitor instances
About executing ondie() actions
Specifying parameters when spawning
It is frequently necessary to enable a single monitor to concurrently listen for multiple kinds of the same event type. For example, you might want one monitor to listen for and process stock ticks that each have a different stock name. You accomplish this is by spawning monitor instances as described in the topics below.
See also Spawning to contexts.