Set Up JMS Server for Data Intake on WebLogic
Create a JMS Server
- In the WebLogic Admin Console, navigate to Services > Messaging > JMS Servers.
- Select New.
- In the Name field, enter "DataIntakeJMSServer."
- In the Persistent Store field, select (none).
- In the Target field, select Cycle.
- Click Finish.
Note: The JMS server should now be visible in the list with Health OK.
Create a JMS Module
- In the WebLogic Admin Console, navigate to Services > Messaging > JMS Modules.
- Select New.
- In the Name field, enter "DataIntakeJMSModule." Leave all the other fields empty.
- In the Target field, select Cycle.
- Click Next.
- Leave the "Would you like to add resources to this JMS system module" checkbox unchecked and click Finish.
Create a SubDeployment
A subdeployment is not necessary for the JMS queue to work, but it allows you to easily target subcomponents of the JMS module to a single target or group of targets. We will use the subdeployment in this to target the following connection factory and JMS queue to the JMS server we created earlier.
- In the WebLogic Admin Console, navigate to Services > Messaging > JMS Modules.
- Select DataIntakeJMSModule.
- Select the Subdeployments tab.
- Click New.
- In the Subdeployment Name field, enter "DataIntakeSubdeployment."
- Click Next.
- On the Targets page, you can select the target(s) for the subdeployment. You can choose either Servers (i.e. WebLogic managed servers, such as the DataIntake) or JMS Servers (DataIntakeJMSServer) such as the JMS Server created earlier. As the purpose of the subdeployment in this scenario is to target a specific JMS server, we will choose the JMS Server option. Select DataIntakeJMSServer.
- Click Finish.
Create a Connection Factory
- In the WebLogic Admin Console, navigate to Services > Messaging > JMS Modules.
- Select DataIntakeJMSModule.
- Click New.
- Select Connection Factory.
- Click Next.
- In the Name field, enter "IntakeConnectionFactory."
- In the JNDI Name field, enter "IntakeConnectionFactory."
- Leave the remaining fields as is.
- In the Target field, select Cycle.
- Click Finish.
Create a JMS Queue
- In the WebLogic Admin Console, navigate to Services > Messaging > JMS Modules.
- Select DataIntakeJMSModule.
- Click New.
- Select Queue.
- Click Next.
- In the Name field, enter "DIQueue."
- In the JNDI Name field, enter "DIQueue."
- In the Template field, select None.
- Click Next.
- In the Subdeployments field, select DataIntakeSubdeployment.
- Click Finish.
The JMS queue is now complete and can be accessed using the JNDI names IntakeConnectionFactory and DIQueue.
Create a Work Manager
- In the WebLogic Admin Console, navigate to Environments > Work Managers.
- Click New.
- Select the Work Manager radio button.
- Click Next.
- Enter a name for the new Work Manager.
- Click Next.
- In the Available Targets list, select the cycle server for the target server.