NonDirect Connection Configuring Oracle JMS Adapter with TIBCO JMS

Oracle JCA Adapter for JMS 8-25 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.2.2 Direct Connection

Perform the following steps:

1. Copy the following file to the SOAInstall_DIRuser_

projectsdomainsDOMAIN_NAMElib folder: ■ YOUR-TIBCO-INSTALL-LOCATIONclientsjavatibjms.jar

2. Configure the connector factory by modifying the weblogic-ra.xml file in

AS11gR1SOAsoaconnectorsJmsAdapter.rar, as shown in the following example: connection-instance jndi-nameeistibjmsDirectQueuejndi-name connection-properties properties property nameConnectionFactoryLocationname valuecom.tibco.tibjms.TibjmsQueueConnectionFactoryvalue property property nameFactoryPropertiesname valueServerUrl=tcp:HOST:PORT;UserName=USERNAME;UserPassword=PASSWORD value property property nameAcknowledgeModename valueAUTO_ACKNOWLEDGEvalue property property nameIsTopicname valuefalsevalue property property nameIsTransactedname valuetruevalue property property nameUsernamename valueUSERNAMEvalue property property namePasswordname valuePASSWORDvalue property properties connection-properties connection-instance connection-instance jndi-nameeistibjmsDirectTopicjndi-name connection-properties properties property nameConnectionFactoryLocationname 8-26 Oracle Fusion Middleware Users Guide for Technology Adapters valuecom.tibco.tibjms.TibjmsTopicConnectionFactoryvalue property property nameFactoryPropertiesname valueServerUrl=tcp:HOST:PORT;UserName=USERNAME;UserPassword=PASSWORD value property property nameAcknowledgeModename valueAUTO_ACKNOWLEDGEvalue property property nameIsTopicname valuetruevalue property property nameIsTransactedname valuetruevalue property property nameUsernamename valueUSERNAMEvalue property property namePasswordname valuePASSWORDvalue property properties connection-properties connection-instance Note that the default USERNAME and PASSWORD are admin and password, respectively. 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.3 Configuring Oracle JMS Adapter with IBM WebSphere MQ JMS

This section describes how to configure Oracle JMS Adapter with IBM WebSphere MQ JMS for non-XA and XA data sources.

8.4.3.1 Non-XA Data Sources

Perform the following steps: 1. Copy the following files to the SOAInstall_DIRuser_ projectsdomainsDOMAIN_NAMElib folder: ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibcom.ibm.mq.jar ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibcom.ibm.mqjms.jar ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibdhbcore.jar 2. Configure the connector factory by modifying the weblogic-ra.xml file in AS11gR1SOAsoaconnectorsJmsAdapter.rar, as shown in the following example: Oracle JCA Adapter for JMS 8-27 connection-instance jndi-nameeiswebspheremqQueuejndi-name connection-properties properties property nameConnectionFactoryLocationname valuecom.ibm.mq.jms.MQQueueConnectionFactoryvalue property property nameFactoryPropertiesname valueQueueManager=QUEUEMANAGER;TransportType=1;HostName= YOUR-HOST;Port=YOUR-PORT;Channel=CHANNEL;ThirdPartyJMSProvider=true value property property nameAcknowledgeModename valueAUTO_ACKNOWLEDGEvalue property property nameIsTopicname valuefalsevalue property property nameIsTransactedname valuetruevalue property property nameUsernamename valueUSERNAMEvalue property property namePasswordname valuePASSWORDvalue property properties connection-properties connection-instance Note that the default USERNAME and PASSWORD are MUSR_MQADMIN and password, respectively. 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.3.2 XA Data Sources

Perform the following steps: 1. Copy the following files to the SOAInstall_DIRuser_ projectsdomainsDOMAIN_NAMElib folder: ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibcom.ibm.mq.jar ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibcom.ibm.mqjms.jar ■ YOUR-MQSERIES-INSTALL-LOCATIONjavalibdhbcore.jar ■ com.ibm.mqetclient.jar