Produce Message Procedure Configuring Oracle JMS Adapter

Oracle JCA Adapter for JMS 8-23 Figure 8–13 Produce Operation Parameters Page

8.4.2 Configuring Oracle JMS Adapter with TIBCO JMS

This section describes how to configure Oracle JMS Adapter with Tibco JMS for direct connection and nondirect connection.

8.4.2.1 NonDirect 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-nameeistibjmsTopicjndi-name connection-properties properties property nameConnectionFactoryLocationname valueTopicConnectionFactoryvalue property property nameFactoryPropertiesname valuejava.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContext Factory;java.naming.provider.url=tibjmsnaming:HOST:PORT;java.naming.secur ity.principal=USERNAME;java.naming.security.credentials=PASSWORDvalue property property nameAcknowledgeModename valueAUTO_ACKNOWLEDGEvalue 8-24 Oracle Fusion Middleware Users Guide for Technology Adapters property property nameIsTopicname valuetruevalue property property nameIsTransactedname valuetruevalue property property nameUsernamename valueUSERNAMEvalue property property namePasswordname valuePASSWORDvalue property properties connection-properties connection-instance connection-instance jndi-nameeistibjmsQueuejndi-name connection-properties properties property nameConnectionFactoryLocationname valueQueueConnectionFactoryvalue property property nameFactoryPropertiesname valuejava.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContext Factory;java.naming.provider.url=tibjmsnaming:HOST:PORT;java.naming.secur ity.principal=USERNAME;java.naming.security.credentials=PASSWORDvalue 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 admin and password, respectively. 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