Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS just asychronous?

 
andy armstrong
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is JMS just ascynchronous or can it do synchronous
message as well?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMS is ascynchronous in nature... meaning the sender is decoupled from the reciever. You could create a situation where the sender sends a message and then blocks on a response from the reciever... but this would be a misuse of the technology and much easier to do as a straight scynchronous method-call.
So JMS is ascynchronous but can be used to mimic a scynchronous call if necessary.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic