System-Timestamped Channels Application-Timestamped Channels

Configuring Channels 9-7 The most efficient and least error-prone way to create and edit a channel configuration in the default component configuration file is to use the Oracle CEP IDE for Eclipse. Optionally, you can create a channel configuration file manually see Section 9.2.3, How to Create a Channel Component Configuration File Manually . For more information, see: ■ Section 9.1.3, System-Timestamped Channels ■ Chapter 6, Oracle CEP IDE for Eclipse and the Event Processing Network To configure a channel using Oracle CEP IDE for Eclipse: 1. Use Oracle CEP IDE for Eclipse to create a channel. See Section 6.4.1.1, How to Create a Basic Node . 2. Optionally, override the default channel assembly file configuration by adding additional wlevs:channel attributes and child elements:

a. Right-click the channel node and select Go To Assembly Source.

b. Add the appropriate wlevs:channel attributes. Required attributes include: – id – event-type In particular, specify whether this channel is a stream or relation by configuring attribute is-relation: – To specify this channel as stream , set is-relation to false default. – To specify this channel as a relation, set is-relation to true. If you specify this channel as a relation, you must also configure the chan- nel attribute primary-key. See Table C–9, Attributes of the wlevs:channel Application Assembly Element . c. Add the appropriate wlevs:channel child elements. – Appendix C.17, wlevs:instance-property – Appendix C.18, wlevs:listener – Appendix C.21, wlevs:property – Appendix C.22, wlevs:source 3. In the Project Explorer, expand your META-INFwlevs directory. 4. Choose the component configuration file you want to use: a. To use the default component configuration file, right-click the META-INFwlevsconfig.xml file and select Open With XML Editor. The file opens in an XML Editor. b. To create a new component configuration file: – Right-click the wlevs directory and select New File. The New File dialog appears. – Enter a file name.