Apama 10.5.3 | Developing Apama Applications | Developing Apama Applications in EPL | Working with Streams and Stream Queries | Troubleshooting and stream query coding guidelines | Prefer on statements to from statements
 
Prefer on statements to from statements
Do not use streams unnecessarily. If an event expression in an on statement meets your needs, use it. Take advantage of mixing code elements for listeners and event expressions, stream processing, and responsive program actions, all in the same monitor.