Oracle WebLogic: Steps to create Connection Factory and Topic

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

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

Environment

Windows 7 OS – 32 bit

Pre-requisite

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

 

Connection Factory and Topic 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
http://localhost:7101/console/login/LoginForm.jsp

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

1_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_enter_credentials

 

Step 2: Home page of the Oracle WebLogic 12c

2_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_home_page

 

Step 3: Follow this article, for creating new JMS Module and Connection Factory

And then next step is to create Topic in weblogic, which we will continue from below step

 

Step 4: Click New –> to create new Topic under JMS Module –> TestJMSModule

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

3_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_click_new_to_create_topic

 

Step 5: Select Topic from available options –> to create new Topic under TestJMSModule

And then click Next

4_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_create_new_Topic

 

Step 6: Provide suitable name for Topic and its JNDI name, for example,

Queue Name: TestTopic

JNDI Name: jms/test/TestTopic

And then click Next

5_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_provide_Topic_JNDI_name

 

Step 7: Select already available Sub deployment or else click “Create a New Subdeployment” to create new Sub deployment

And also select existing JMS target servers, in this demo example SOAJMSServer

And then click Finish

6_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_select_subdeployment_target_JMS_server

 

Step 8: Finally, new Topic TestTopic has been created successfully

7_Oracle_Weblogic_To_Create_Connection_Factory_and_Topic_has_been_created

 

In the next article<link>, we will code Java client to publish messages to topic and consume messages by subscribing to 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
http://docs.oracle.com/cd/E13222_01/wls/docs81/ConsoleHelp/domain_jmstopic_config_general.html
http://www.benchresources.net/oracle-weblogic-steps-to-create-connection-factory-and-queue
Read Also:

Happy Coding !!
Happy Learning !!

JMS Client: To produce and consume messages in JMS Queue