Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MQSeries or messaging simple question

 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear people,
I have long known people would use MQSeries to do asynchrounous messaging. But, I read some solution out there which uses it for synchronous as well.
Question is, does MQSeries really does synchronous messaging?
What are the principle behind people choosing messaging with synchronous behaviour?
Thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using MQSeries for Synchronous Processing.
It does "almost synchronous" messaging. You would choose this if you need time-dependant responses, as opposed to "ask now get the answer later".
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm, I thought synchronous MQ was as simple as using the getAndWait() API to wait for the message to come back and pull it off the queue. We use this on an app server where the client thinks it is calling a synchronous service. We have to wait for the MQ response before we return to the client. I've always had a wrapper around MQ, not really written to the MQ API mice elf.
We use MQ as synchronous and asynchronous RPC, which is not usually a problem that suggests MQ as an answer. But after some effort we got outstanding performance and reliability out of MQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic