Announcement Announcement Module
Collapse
No announcement yet.
Configure ReplyQueue and separate ReceiveQueue in JmsOutboundGateway Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configure ReplyQueue and separate ReceiveQueue in JmsOutboundGateway

    Hi,

    We have a distributed infra situation where a service requesting application (websphere) resides on a different system than the service providing application (mainframe).

    The name of the ReplyToQueue (where the serviceproviding endpoint is posting its responses) is different from the name of the ReceiveQueue (where the servicerequesting application is listening to responses from the serviceproviding application). Basically, we want to set the jmsReplyTo of the request message to a different destination than the receive destination.

    The JmsOutboundGateway seems to use the reply-destination for both setting the JmsReplyTo, and creating a consumer to listen to responses.

    It there any way to configure the jmsOutboundGateway with separate Receive (for creating the consumer) and Reply (for setting the jmsReplyTo) destinations?

  • #2
    I am not fully understanding this. If the service provider replies to a different Queue, then how does the service requester end up receiving the reply?

    Comment


    • #3
      Originally posted by Mark Fisher View Post
      I am not fully understanding this. If the service provider replies to a different Queue, then how does the service requester end up receiving the reply?
      Mark, let me explain,

      Our underlying platform is Websphere MQ and this is a distributed infrastructure.

      The servicerequesting application resides on platform A with local queuemanager X, with two queues:
      1.request.toApplicationY.output (request queue to send request)
      2.response.fromApplicationY.input (reply queue to receive reponse)

      The serviceproviding application resides on platform B with local queuemanager Y, with two queues:
      3.request.fromApplicationX.input (listener queue to receive requests)
      4.response.toApplicationX.output (reply queue to send response)

      Both queuemanagers are connected with inter-queuemanager channels, which are configured in such a way that queue 1 is connected to queue 3 as a request channel, and queue 2 is connected to queue 4 as a response channel.

      In this case, the jmsReplyTo would be queue 4, whereas the destination of the consumer would be queue 2.

      Comment

      Working...
      X