XA Data Sources Configuring Oracle JMS Adapter with IBM WebSphere MQ JMS

Oracle JCA Adapter for JMS 8-29 ■ YOUR-ACTIVEMQ-INSTALL-LOCATIONactivemq-core-4.1.1.jar ■ YOUR-ACTIVEMQ-INSTALL-LOCATIONbackport-util-concurrent-2.1 .jar ■ YOUR-ACTIVEMQ-INSTALL-LOCATIONactiveio-core-3.0.0-incubato r.jar ■ YOUR-ACTIVEMQ-INSTALL-LOCATIONcommons-logging-1.1.jar Configure the connector factory by modifying the weblogic-ra.xml file in AS11gR1SOAsoaconnectorsJmsAdapter.rar as shown in the following example: connection-instance jndi-nameeisactivemqQueuejndi-name connection-properties properties property nameConnectionFactoryLocationname valueorg.apache.activemq.ActiveMQConnectionFactoryvalue property property nameFactoryPropertiesname valueBrokerURL=tcp:YOUR-HOST:YOUR-PORTvalue property property nameAcknowledgeModename valueAUTO_ACKNOWLEDGEvalue property property nameIsTopicname valuefalsevalue property property nameIsTransactedname valuetruevalue property property nameUsernamename valuevalue property property namePasswordname valuevalue property properties connection-properties connection-instance Alternatively, to configure a new connection factory by using the Oracle WebLogic Server Administration Console, use the steps mentioned in Section 2.19, Adding an Adapter Connection Factory .

8.4.5 WLS JMS Text Message

This WLS JMS text message use case for Oracle BPEL PM demonstrates how the Oracle JMS Adapter dequeues from and enqueues to the WLS JMS Queue. 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 .