Queries & Outputs
Processing and triggering new events based on received events is the basic idea of CEP. For processing events there should be some criteria specified to the CEP Engine, and this is provided as query to the CEP Bucket. To perform the expected task user may need one or more queries and some of this queries may be configured to trigger output events.
Query consists of the following elements.
- Query Name - Name to identify the query
- Expression - Actual query text specifying how the events should be processed
- Output (optional) - Output should only be defined if you want to emit the output events triggered by the query,
Output consists following elements
- Topic - Topic to which CEP will publish the output events.
- Broker Name - Name of the broker which the output events are sent through
- Output Mapping - Define the format of the output events.
Following are the available Output Mappings.
Copyright © WSO2 Inc. 2005-2014