Configure the WebLogic JMS Resource for Discrepancies Export

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