Configuring Oracle JMS Adapter with Active MQ JMS

8-30 Oracle Fusion Middleware Users Guide for Technology Adapters In the case of a WLS JMS text message scenario for a Mediator business process, you need the following files from the artifacts.zip file contained in the adapters-jms-101-wlsjms-textmessageusingqueues sample: ■ artifactsschemasexpense.xsd You can obtain the adapters-jms-101-wlsjms-textmessageusingqueues sample by accessing the Oracle SOA Sample Code site, and selecting the Adapters tab. This section includes the following topics: ■ Section 8.4.5.1, Meeting Prerequisites ■ Section 8.4.5.2, Creating an Application Server Connection ■ Section 8.4.5.3, Creating an Application and an SOA Project ■ Section 8.4.5.4, Creating an Inbound Adapter Service ■ Section 8.4.5.5, Creating an Outbound Adapter Service ■ Section 8.4.5.6, Wiring Services and Activities ■ Section 8.4.5.7, Deploying with JDeveloper ■ Section 8.4.5.8, Monitoring Using the Fusion Middleware Control Console

8.4.5.1 Meeting Prerequisites

You must perform the following prerequisite for the WLS JMS text message use case for Oracle BPEL PM:

8.4.5.1.1 Creating Queues in the Oracle WebLogic Server Administration Console

Perform the following steps to create queues required for this use case:

1. Navigate to the Oracle WebLogic Server Administration Console:

http:servername:portnumberconsole

2. Use the required credentials to open the Home page of the Oracle WebLogic

Server Administration Console. The Home page of the Oracle WebLogic Server Administration Console is displayed, as shown in Figure 8–14 . Oracle JCA Adapter for JMS 8-31 Figure 8–14 The Oracle WebLogic Server Administration Console Home Page

3. Navigate to Services, Messaging, JMS Modules in the Domain Structure pane.

The Oracle WebLogic Server Administration Console - JMS Modules page is displayed.

4. Click one of the existing modules. In this example, click SOAJMSModule.

The Oracle WebLogic Server Administration Console - Settings for SOAJMSModule page is displayed.

5. Under the Summary of Resources section, click New.

The Oracle WebLogic Server Administration Console - Create a New JMS System Module Resource page is displayed.

6. Select Queue, and then click Next.

7. Enter the following queue details:

■ Name ■ JNDI Name ■ Template

8. Click Next.

9. Select the subdeployment you want to use from the Subdeployments list.

10. Click Finish.

You have created the queue, ReceiveQueue.

11. Repeat steps 1 through 10, and create a queue named SendQueue.

8.4.5.1.2 Creating the Q2Qorders.xsd file

You need to create the Q2Qorders.xsd file by using the following code: ?xml version=1.0 ?