Meeting Prerequisites Oracle AQ Adapter ADT Queue

Oracle JCA Adapter for AQ 7-47

8. Select Define Interface Later in the Template list, and then click OK.

You have created a mediator component.

7.4.2.3 Creating an Inbound Oracle AQ Adapter

The following are the steps to create an inbound Oracle AQ Adapter service:

1. In the Component Palette, select SOA.

2. Drag and drop AQ Adapter from the Service Adapters list in the Component

Palette to the Exposed Services swim lane in the composite.xml page. The Adapter Configuration Wizard is displayed.

3. Click Next.

The Service Name page is displayed.

4. Specify a name for the service in the Service Name page. In this example, type

dequeue.

5. Click Next.

The Service Connection page is displayed. A database connection is required to configure an Oracle AQ Adapter. You can either create a new connection or select an existing database connection.

6. Click the Create a new database connection icon to create a new database

connection. The Create Database Connection page is displayed.

7. Create a database connection, as mentioned in Step 6 of

Section 7.4.1.1.3, Defining an Oracle AQ Adapter Service.

8. Click OK to complete the process of creating a new database connection.

The Service Connection page is displayed, providing a summary of the database connection.

9. Click Next.

The Adapter Interface page is displayed.

10. In the Adapter Interface page, select Define from operation and schema

specified later .

11. Click Next.

The Operation page is displayed.

12. Select Dequeue.

13. Accept the default operation name, and then click Next.

The Queue Name page is displayed.

14. Select a database schema from the list, or click Browse to browse for the schema.

In this example, click Browse. The Select Queue dialog is displayed. 15. In the Select Queue dialog, perform the following steps:

a. For Queue Type, select all types.

b. For Database Schema, select Scott.

c. Retain the default values for the other fields. 7-48 Oracle Fusion Middleware Users Guide for Technology Adapters

d. Under Queues, select CUSTOMER_IN_QUEUE.

Figure 7–34 shows the Select Queue dialog. Figure 7–34 Selecting a Queue for the Inbound Operation

16. Click OK.

The Queue Name dialog with all the fields populated is displayed, as shown in Figure 7–35 .