aspose file tools*
The moose likes Websphere and the fly likes Newbie MQ architecture question on synchronous calls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Newbie MQ architecture question on synchronous calls" Watch "Newbie MQ architecture question on synchronous calls" New topic
Author

Newbie MQ architecture question on synchronous calls

Jimmy Ho
Ranch Hand

Joined: Jul 31, 2007
Posts: 61
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Newbie MQ architecture question on synchronous calls