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?