Results 1 to 3 of 3

Thread: Configure ReplyQueue and separate ReceiveQueue in JmsOutboundGateway

  1. #1
    Join Date
    Aug 2008
    Posts
    4

    Default 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. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,844

    Default

    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?

  3. #3
    Join Date
    Aug 2008
    Posts
    4

    Default

    Quote 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •