MDB Sample for Testing WebLogic Server JMS Configuration and JDBC Persistent Store Functionality
(Doc ID 1082063.1)
Last updated on JUNE 28, 2024
Applies to:
Oracle WebLogic Server - Version 10.3 and later Information in this document applies to any platform.
Goal
This document provides an MDB sample along with the configuration steps for a WebLogic Server domain for creating JMS Modules, JMS Server and queues with JDBC Persistent store configuration. It has a sample java standalone client program for posting messages to JMS Queue for testing purposes.
In this test we post messages to a JMS Queue using the java standalone client (producer), and the MDB deployed on the WLS domain consumes messages posted to the JMS Queue (consumer). We have a JMS JDBC Persistent Store configuration as well for the JMS Server to verify that messages are persisted and stored in the database when the MDB consumer is not available and picked up from the database when it becomes available.
NOTE: Server names; Queue names; ConnectionFactory names; JNDI names; other used represent a fictitious sample names that made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.
Solution
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!