Apama 10.15.5 | Developing Apama Applications | Developing Apama Applications in EPL | Implementing Parallel Processing | Introduction to contexts | Context lifecycle
 
Context lifecycle
A context has a lifecycle that starts when a spawn...to operation occurs and ends when the last monitor instance in the context terminates. This is completely independent of any context objects that refer to the context. It is possible for a context to be running when no references to it exist, and it is possible for a context object to refer to a context that is no longer running. In the latter case, spawning to a context that is not running is permissible. The correlator restarts the context as required.
Note: 
If a license file cannot be found, the number of contexts that the correlator allows to be created is limited. See Running Apama without a license file.