Oracle WebLogic: Steps to create Connection Factory and Queue

In this article, we will go through steps to create Connection Factory and Queue in Oracle Weblogic application server in detail

Connection Factory and Queue created here will be used in the following article to demonstrate <OSB 12c JMS Transport example using Queue>


Windows 7 OS – 32 bit


Oracle Weblogic application server is already installed in Windows 7 OS environment


Connection Factory and Queue creation steps

Step 1: Login to already installed Oracle Weblogic application server using correct credentials

Once admin server is started, you can access the home page using below URL

Enter either of the following URL in to web browser

http://localhost:7101/console OR

And enter username/password (weblogic/weblogic@123)

Note: Follow this article, if already Oracle Weblogic application server is not installed

Click here for domain creation steps



Step 2: Home page of the Oracle WebLogic application server



Step 3: Create a new JMS module

Navigate to Home –> Messaging –> JMS module –> click New



Step 4: Enter name for new JMS module, for example TestJMSModule

And then click Next



Step 5: Select target servers, in this demo example DefaultServer

And then click Next



Step 6: Click Finish –> To create new JMS Module



Step 7: Check and verify whether new JMS module “TestJMSModule” has been created under Summary of JMS Modules

Click on this new JMS module –> to create ConnectionFactory and Queue



Step 8: Click New –> to create Connection Factory first and later Queue



Step 9: Select ConnectionFactory from available options

And then click Next



Step 10: Provide suitable name for ConnectionFactory and its JNDI name, for example,

ConnectionFactory Name: TestConnFactory

JNDI Name: jms/test/TestConnFactory

And then click Next



Step 11: Automatically DefaultServer will be selected for Connection Factory

And then click Finish



Step 12: Finally, connection factory TestConnFactory has been created successfully

Click New to create new Queue under the same JMS Module –> TestJMSModule



Step 13: Select Queue from available options –> to create new Queue under same TestJMSModule

And then click Next



Step 14: Provide suitable name for Queue and its JNDI name, for example,

Queue Name: TestQueue

JNDI Name: jms/test/TestQueue

And then click Next



Step 15: Create New Sub deployment –> click “Create a New Subdeployment”, if not already available



Step 16: Provide name for Sub deployment for example, TestSubDeployment

And then click OK



Step 17: Select existing JMS target servers, in this demo example SOAJMSServer

And then click Finish



Step 18: Finally, new Queue TestQueue has been created successfully



In the next article, we will code Java client to send messages to queue and consume messages from queue

Read Also:

Happy Coding !!
Happy Learning !!

JMS Client: To produce and consume messages in JMS Queue
Oracle OSB 12c: File Polling/Reading and Writing using FTP Transport and authentication via Service Account