Developing Apama Applications > Developing Apama Applications in EPL > Defining Event Listeners > Using a stream source template to find events of interest
Using a stream source template to find events of interest
In addition to event listeners, EPL provides stream source templates for finding events of interest. A stream source template is an event template prefixed with the all keyword. The result of a stream source template is a stream.
Use streams on a continuous flow of incoming items when you want to aggregate, join to other streams, and/or narrow the scope of the matching items based on content, arrival time, or the most recent particular number of items.
Use an event listener for discrete events or discrete patterns of events for which you want to independently trigger the listener action.
For information about using stream source templates, see Working with Streams and Stream Queries.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.