Creating a Data Feed File

26-4 Oracle Complex Event Processing Developers Guide – output: for event tracing. For example: server-1myappMyInputAdapterinput The Event Inspector service uses an HTTP pub-sub server. This can be any of: ■ Local: you configure your config.xml file with an event-inspector-service element and configure its pubsub-server-name child element with the name of local pubsub server running on this machine. For more information, see Section 26.2.1, How to Configure a Local Event Inspector HTTP Pub-Sub Server . ■ Remote: you configure your config.xml file with an event-inspector-service element and configure its pubsub-server-url child element with a URL to an HTTP pub-sub server running on a remote machine. For more information, see Section 26.2.2, How to Configure a Remote Event Inspector HTTP Pub-Sub Server . ■ Default: if there is only one HTTP pub-sub server defined in your config.xml file and you do not specify a local or remote HTTP pub-sub server, then the Event Inspector service uses the local HTTP pub-sub server by default. The Event Inspector service uses the same HTTP pub-sub channel and server for both tracing and injecting events. For more information, see: ■ Section 26.1.1, Tracing Events ■ Section 26.1.2, Injecting Events

26.1.5 Event Inspector Clients

The Event Inspector service supports the following clients: ■ Section 26.1.5.1, Oracle CEP Visualizer

26.1.5.1 Oracle CEP Visualizer

You can access the Event Inspector service using the Oracle CEP Visualizer. For more information, see Testing Applications With the Event Inspector in the Oracle Complex Event Processing Visualizer Users Guide.

26.2 Configuring the Event Inspector HTTP Pub-Sub Server

You can configure the Event Inspector service with a local or remote HTTP pub-sub server: ■ Section 26.2.1, How to Configure a Local Event Inspector HTTP Pub-Sub Server ■ Section 26.2.2, How to Configure a Remote Event Inspector HTTP Pub-Sub Server You configure the Event Inspector HTTP pub-sub server in a component configuration file. For general information about these configuration files, see Section 1.1.5, Component Configuration Files. If there is only one HTTP pub-sub server defined in your config.xml and you do not specify a local or remote HTTP pub-sub server, then the Event Inspector service uses Testing Applications With the Event Inspector 26-5 the local HTTP pub-sub server by default. For more information, see Chapter 8, Configuring HTTP Publish-Subscribe Server Adapters .

26.2.1 How to Configure a Local Event Inspector HTTP Pub-Sub Server

You configure the Event Inspector service with a local HTTP pub-sub server in a component configuration file. Alternatively, you can configure a remote HTTP pub-sub server as Section 26.2.2, How to Configure a Remote Event Inspector HTTP Pub-Sub Server describes. To configure a local Event Inspector HTTP pub-sub server: 1. Open the EPN editor in the Oracle CEP IDE for Eclipse. See Section 6.1, Opening the EPN Editor .

2. Right-click any component with a configuration file associated with it and select

Go to Configuration Source .

3. Add an event-inspector-service element as

Example 26–2 shows. Example 26–2 Event Inspector Service Local HTTP Pub-Sub Server event-inspector-service namemyEventInspectorConfigname pubsub-server-namemyPubSubpubsub-server-name event-inspector-service Where the pubsub-server-name value myPubSub is the value of the http-pubsub element name child element as defined in the local Oracle CEP server config.xml file as Example 26–3 shows. Example 26–3 Oracle CEP Built-In HTTP Pub-Sub Server http-pubsub Element ... http-pubsub namemyPubSubname pathpubsubpath pub-sub-bean server-config supported-transport types elementlong-pollingelement types supported-transport publish-without-connect-allowedtruepublish-without-connect-allowed server-config channels ... channels pub-sub-bean http-pubsub ... 4. Save and close the config.xml file.

26.2.2 How to Configure a Remote Event Inspector HTTP Pub-Sub Server

You configure the Event Inspector service with a remote HTTP pub-sub server in a component configuration file. Alternatively, you can configure a local HTTP pub-sub server as Section 26.2.1, How to Configure a Local Event Inspector HTTP Pub-Sub Server describes.