Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

synchronous messaging v/s Request response pattern  RSS feed

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
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
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
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!