• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MQSeries or messaging simple question

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic