Oracle WebLogic Server 12c: Configuring JMS Servers and Destinations
Introduction
This tutorial shows how to create and configure Java Message Service (JMS) servers, queues, and topics in an instance of Oracle WebLogic Server 12c.
We will use a web application to post messages to the queue and topic and the Oracle WebLogic Server 12c (12.1.1) administration console to Monitor the queue and topic.
Main steps:
- Configure a ManagedWeblogic Server
- Configue a JMS Server
- Configure a JMS Queue and Topic
- Customize the Queue/Topic Display
- Test the JMS Queue and Topic
Step 1: Configure a ManagedWeblogic Server
First, log to the Weblogic Server using the Weblogic Server Administration Console
Select servers, to create a new server
Once the new server created, we need to start it.
Step2 : Configue a JMS Server
Select JMS Servers / Create a new JMS Server
The message “JMS Server created successfully.” is displayed.
Step 3: Configure a JMS Queue and Topic
Log again into the WeblogicServer administration console and select JMS Modules
create a JMSsubModule
Choose Subdeployments and create a new one
Under the Settings for amsllyworldModule, above the Summary of Resources table, click the New button
Configure a Topic
This time, for the type of resource, select the Topic radio button
In the Settings for amslly, under the Configuration tab and the General subtab, click the link View JNDI Tree
Step 4: Customize the Queue/Topic Display
To customize how queues and topics are displayed in the administration console, perform the following steps:
In the administration console under Domain Structure, go back under Services, then Messaging, and click JMS Modules.
In the JMS Modules table, click on amsllyworldModule
Customize the topic
Test the JMS Queue and Topic
To test the JMS queue and topic with the supplied web application, perform the following steps:
Download the aq_messaging_test.zip file to the machine where your WebLogic Server domain and servers are. The zip file contains two files:
aq_messaging.war : A simple web application used to post messages to the queue and topic
deploy_testjms.p : A WebLogic Scripting Tool (WLST) script used to deploy the web application
How to use unified audit trail in oracle database19c with Splunk Oracle Advanced Queuing (AQ) demo