Right-click on an empty portion of the EPN Editor surface and select New from

Oracle CEP IDE for Eclipse and the Event Processing Network 6-21

6.4.1.2 How to Create an Adapter Node

This section describes how to create an adapter using the EPN Editor, including: ■ JMS adapters in-bound or out-bound ■ HTTP publish-subscribe server adapters publishing or subscribing For information on how to create other nodes, see Section 6.4.1, Creating Nodes . To create an adapter node: 1. Open the EPN Editor see Section 6.1, Opening the EPN Editor .

2. Right-click on an empty portion of the EPN Editor surface and select New from

the context menu as Figure 6–31 shows. Figure 6–31 Creating an Adapter Node

3. Select node type Adapter.

The New Adapter wizard appears as shown in Figure 6–32 . Figure 6–32 New Adapter Wizard 6-22 Oracle Complex Event Processing Developers Guide 4. Configure the New Adapter Wizard - Page 1 as shown in Table 6–3 .

5. Proceed depending on how you configured the adapter implementation:

a. If you selected Class, Proceed to step 8.

b. If you selected Provider, proceed to step 6.

6. Click Next.

The provider-specific New Adapter Wizard page appears.

7. Configure the provider-specific New Adapter Wizard page as the following

figures show: ■ Figure 6–33, New Adapter Wizard - jms-inbound See Section 7.6.1, JMS Inbound Adapter Component Configuration . ■ Figure 6–34, New Adapter Wizard - jms-outbound See Section 7.6.2, JMS Outbound Adapter Component Configuration . ■ Figure 6–35, New Adapter Wizard - httppub See Section 8.5.1, HTTP Pub-Sub Adapter for Publising Component Configuration . ■ Figure 6–36, New Adapter Wizard - httpsub Table 6–3 New Adapter Wizard - Page 1 Attribute Description Adapter ID Specifies the ID of the adapter EPN element and the name of the associated adapter configuration element. Provider Select the adapter provider type from the pull-down menu for an adapter already defined in the Oracle CEP component configuration schema. Select one of: ■ jms-inbound : JMS in-bound adapter. ■ jms-outbound : JMS out-bound adapter. ■ httppub : HTTP publish-suscribe adapter for publishing. ■ httpsub : HTTP publish-suscribe adapter for subscribing. Class Specify the fully qualified Java class name of a custom adapter. NOTE: If you are using a custom adapter factory, you must add the wlevs:factory element manually. For more information, see Chapter 14, Configuring Custom Adapters . Create a new file Creates the adapter component configuration in a new file. The new file is created in the applications META-INFwlevs directory with the same name as the adapter ID. Use an existing configuration file Creates the adapter component configuration in an existing configuration file. The new adapter configuration element is appended to the configurations in the selected file. Oracle CEP IDE for Eclipse and the Event Processing Network 6-23 See Section 8.5.2, HTTP Pub-Sub Adapter for Subscribing Component Configuration . Figure 6–33 New Adapter Wizard - jms-inbound