• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

synchronous messaging v/s Request response pattern  RSS feed

 
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
 
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
>^..^<
 
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
Boost this thread!