This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie MQ architecture question on synchronous calls  RSS feed

 
Jimmy Ho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"?

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!