How to Properly Use JMSReplyTo Header With WebLogic Server (WLS)
Last updated on NOVEMBER 05, 2016
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 (QueueSend.java) 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 (QueueReceiveResend.java), 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 (QueueReceive.java). 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:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms