I'm looking at using an existing set-up of WebSphere MQ to route some messages. Unfortunately, one particular interaction is a synchronous call to a back-end system, and I don't know exactly how that works in MQ.
How do I do synchronous request/response using queues?
Also, this isn't one server talking to another. I kind of get how if server A wants to talk synchronously to server B, we can just set up two queues, and have A send a message to B, and then have A wait for a response from B on the second queue.
In this case, it's N different servers talking to one back-end server. Is there any way to do a synchronous call with only two queues, with the N servers sharing the queues, or do I have to set up queues for every server? If so, do I need a one-to-one correspondence for both the request and response queues? Which one is the "best practice"?