Oracle CQL Processor Component Configuration File

10-14 Oracle Complex Event Processing Developers Guide 11 Configuring EPL Processors 11-1 11 Configuring EPL Processors This section contains information on the following subjects: ■ Section 11.1, Overview of EPL Processor Component Configuration ■ Section 11.2, Configuring an EPL Processor ■ Section 11.3, Configuring an EPL Processor Cache Source ■ Section 11.4, Example EPL Processor Configuration Files

11.1 Overview of EPL Processor Component Configuration

An Oracle CEP application contains one or more complex event processors, or processors for short. Each processor takes as input events from one or more adapters; these adapters in turn listen to data feeds that send a continuous stream of data from a source. The source could be anything, from a financial data feed to the Oracle CEP load generator. The main feature of an EPL processor is its associated Event Processing Language EPL rules that select a subset of the incoming events to then pass on to the component that is listening to the processor. The listening component could be another processor, or the business object POJO that typically defines the end of the event processing network, and thus does something with the events, such as publish them to a client application. For more information about EPL, see the Oracle Complex Event Processing EPL Language Reference. For each EPL processor in your application, you must create a processor element in a component configuration file. In this processor element you specify the initial set of EPL rules of the processor and any optional processor configuration such as: ■ JDBC datasource reference if your Oracle CEP application requires a connection to a relational database. ■ Enable monitoring of the processor. You can configure additional optional EPL processor features in the EPL processor EPN assembly file. The component configuration file processor element’s name element must match the EPN assembly file processor element’s id attribute. For example, given the EPN Note: Oracle CQL replaces Event Processing Language EPL in Oracle CEP 11g Release 1 11.1.1. Oracle CEP supports EPL for backwards compatibility. For more information, see Chapter 10, Configuring Oracle CQL Processors .