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>
1. Environment :
- Windows 7 OS – 32 bit
2. Pre-requisite :
- Oracle Weblogic application server is already installed in Windows 7 OS environment
3. 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
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
Related Articles :
- Oracle SOA 12c – Installation steps using Single Installer
- Oracle SOA 12c – Domain creation steps
- Oracle OSB 12c – Hello World mock service with Proxy Service
- Oracle OSB 12c – Hello World service with both Business and Proxy Service
- Oracle OSB 12c – Operational Branch example
- Oracle OSB 12c – Conditional Branch example
- Oracle OSB 12c – Service Callout and Routing Table example
- Oracle OSB 12c – Java Callout and Routing Table example
- Oracle OSB 12c – File Polling/Reading and Writing using File Transport
- Oracle OSB 12c – File Polling/Reading and Writing using FTP Transport and authentication via Service Account
- Oracle WebLogic – Steps to create Connection Factory and Queue
- JMS Client – To produce and consume messages in JMS Queue
- Oracle WebLogic – Steps to create Connection Factory and Topic
References :
- http://docs.oracle.com/cd/E23943_01/web.1111/e13738/basic_config.htm#JMSAD146
- http://docs.oracle.com/cd/E13222_01/wls/docs103/jms/fund.html
Happy Coding !!
Happy Learning !!