Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

synchronous messaging v/s Request response pattern

 
srinath karkhani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I a beginner in JMS concepts wants to know the basic difference b/w Synchronous messaging and request response pattern
As read in some books found that synchronous messaging is where the client applications expects a immediate response where asynchronous doesnot, in this case how is the request-reponse(lik Http request-response) different from synchronous messaging
thanks
Srinath
 
Nigel Kat
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reqquest-response and synchronous processing could be considered the same thing. Synchronous processing requires that the session that iniated the request stay open and wait until the response is received.
Asynchronous processing is where transactions can be fired off in groups and the responses are handled as they come in. The session does not need to wait for the response.
Asynchronous processing is used by messaging systems where the individual messages are shipped off from one queue and a second queue is monitored for the response to arrive.
When there is no direct link between the request and the response = asyncronous.
Hope that helps
Kat
>^..^<
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd recommend to you the book Professional JMS programming by Gopalan Gupta and some other guru's that I don't remember.
It explains in detail this and some more concepts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic