This documentation is for WSO2 CEP 2.1.0. View the home page of the latest release.

Queries and 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.

A 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,

An output consists of the 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