My Oracle Support Banner

How to Properly Use JMSReplyTo Header With WebLogic Server (WLS) (Doc ID 1315744.1)

Last updated on APRIL 13, 2023

Applies to:

Oracle WebLogic Server - Version 9.2 and later
Information in this document applies to any platform.


This document describes how to implement the JMSReplyTo header field with WebLogic Server


WLS JMS server needs to be configured in the following manner.

On a particular domain, destination queue needs JNDI as QD1 and QD2. The business need is such that a producer ( needs to send some messages to destination QD1. The messages are being consumed and a response should be sent back to QD2. The messages from the QD2 are then processed accordingly.

There should be only one destination such as QD1 which should be the main point of contact to the producers (, Depending on the message, it should be forwarded to the respective queue such as QD2 without making much changes to the code. The messages from the Queue QD2 can be then consumed by another consumer ( The producer of the message should decide to which destination the reply to this message should be sent to.

This can be illustrated by the following diagram:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.