WebLogic Messaging Bridge Advanced Topics

7-14 Configuring and Managing JMS for Oracle WebLogic Server java.naming.security.credentials respectively. The optional new credential is implicitly associated with current thread, and so becomes the credential used for subsequent WebLogic operations on the same thread, such as JNDI lookups. The new credential is not the credential used for AQ JMS operations.

7.4.2 WebLogic Messaging Bridge

A WebLogic Messaging Bridge communicates with the configured source and target bridge destinations. For each mapping of a source destination to a target destination, you must configure a messaging bridge instance. Each messaging bridge instance defines the source and target destination for the mapping, a message filtering selector, a QOS, transaction semantics, and various reconnection parameters. If you have AQ foreign destinations that are not local to the server running the application or MDBs sending and receiving messages, you must configure a messaging bridge instance on the server that is local to the AQ foreign destinations. A local database connection is used in the process of sending and receiving messages from AQ destinations. For more information on the WebLogic Messaging Bridge, see Understanding the Messaging Bridge in Configuring and Managing the Messaging Bridge for Oracle WebLogic Server. 7.4.2.1 Create a Messaging Bridge Instance The section provides the major steps in creating a messaging bridge between AQ destinations configured as foreign destinations in one domain and applicationsMDBs running in another domain: 1. Create the bridge instance on the server where AQ destinations configured as foreign destinations. 2. Create source and target bridge destinations. Select Other JMS in the default Messaging Provider drop down when a Foreign AQ JMS destination is specified for a source or target destination. 3. Deploy a resource adapter. 4. Create a messaging bridge instance. The Messaging Bridge Exactly-Once quality of service requires a data source configured with the XA based JDBC driver and must use an AQ JMS connection factory that implements an XA JMS connection factory interface. See Section 7.2.2.1, Configure a WebLogic Data Source and Section 7.2.2.4, Configure JMS Foreign Server Connection Factories. 5. Target the messaging bridge. The Administration Console assists you in creating a messaging bridge by deploying an appropriate resource adapter and setting the values of some attributes. Consider changing messaging bridge settings to better suit your environment. See Create Messaging Bridge Instances in Oracle WebLogic Server Administration Console Help

7.4.3 Stand-alone WebLogic AQ JMS Clients