Configure the WebLogic JMS Resource for Discrepancies Export
In the WebLogic Server Console:
- Configure the JMS server.
- Navigate to DMWDomain > Services > Messaging > JMS Servers.
- Click New.
- In the Name field, enter ExportJMSServer.
- Click Next.
- From the Leave Persistent Store drop-down, select (none).
- Click Next.
- From the Targets drop-down, select the target server that you had configured for the "lswdbExportDS" datasource.
- Click Finish.
- Configure the JMS module.
- Navigate to DMWDomain > Services > Messaging > JMS Modules.
- Click New.
- In the Name field, enter ExportSystemModule.
- Click Next.
- From the list of Targets options, select the target server that you had configured for the "lswdbExportDS" datasource.
- Click Finish.
- Configure the foreign server.
- Click ExportSystemModule that you created in step 2.
- Click New.
- Select the Foreign Server option.
- Click Next.
- In the Name field, enter ExportForeignServer.
- Click Next.
- From the list of Targets options, select the target server that you had configured for the "lswdbExportDS" data source.
- Click Finish.
- Click ExportForeignServer.
- In the JNDI Initial Context Factory field, enter oracle.jms.AQjmsInitialContextFactory.
- In the JNDI Properties field, enter datasource=jdbc/lswdbExportDS.
- Click Save.
- Configure the destination.
- Click ExportForeignServer that you created in step 3.
- Click the Destinations tab.
- Click New.
- In the Name field, enter ExportForeignDestination.
- In the Local JNDI Name field, enter aq-jms/ExportAQ.
- In the Remote JNDI Name field, enter Queues/DME_DISC_EXP_TO_MT_Q.
- Click OK.
- Configure the connection factory.
- Click ExportForeignServer that you created in step 4.
- Click the Connection Factories tab.
- Click New.
- In the Name field, enter ExportConnectionFactory.
- In the Local JNDI Name field, enter aq-jms/ExportConnectionFactory1.
- In the Remote JNDI Name field, enter ConnectionFactory.
- Click OK.
- Configure the maximum thread constraint for the work manager.
- Navigate to DMWDomain > Environment > Work Managers.
- Click New.
- Select the Maximum Threads Constraint option.
- Click Next.
- In the Name field, enter ExportMaxThreadsConstraint.
- In the Count field, enter 20.
- Click Next.
- From the list of Targets check boxes, select the target server that you had configured for the "lswdbExportDS" datasource.
- Click Finish.
- Configure the work manager.
- Navigate to DMWDomain > Environment > Work Managers.
- Click New.
- Select the Work Manager option.
- Click Next.
- In the Name field, enter ExportWorkManager.
- Click Next.
- Select the required server check box
- Click Finish.
- Click ExportWorkManager.
- From the Maximum Threads Constraint drop-down, select ExportMaxThreadsConstraint that you created in step 6.
- Click Save.
Parent topic: Configure the WebLogic JMS Resources