How to Create a Simple JMS Queue in Weblogic Server
This example shows the steps to create a simple JMS queue in WebLogic Server 12c
1- Create a JMS Server
Services > Messaging > JMS Servers
- Select New
- Name: TestJMSServer
Persistent Store: (none) - Target: soa_server1 (or choose an available server)
- Finish
The JMS server should now be visible in the list with Health OK.
2- Create a JMS Module
- Services > Messaging > JMS Modules
- Select TestJMSModule
- Select the Subdeployments tab and New
- Subdeployment Name: TestSubdeployment
- Press Next
- Here you can select the target(s) for the subdeployment. You can choose either Servers (i.e. WebLogic managed servers, such as the soa_server1) or JMS Servers such as the JMS Server created earlier. As the purpose of our subdeployment in this example is to target a specific JMS server, we will choose the JMS Server option.
Select the TestJMSServer created earlier - Press Finish
3- Create a Connection Factory
- Services > Messaging > JMS Modules
- Select TestJMSModule and press New
- Select Connection Factory and Next
- Name: TestConnectionFactory
JNDI Name: jms/TestConnectionFactory
Leave the other values at default - On the Targets page, select the Advanced Targeting button and select TestSubdeployment
- Press Finish
The connection factory should be listed on the following page with TestSubdeployment and TestJMSServer as the target.
4- Create a JMS Queue
- Services > Messaging > JMS Modules
- Select TestJMSModule and press New
- Select Queue and Next
- Name: TestJMSQueue
JNDI Name: jms/TestJMSQueue
Template: None
Press Next - Subdeployments: TestSubdeployment
- Finish
Now , you can easly deploy the Webservice you have developed directly using Jdeveloper
Comments