• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!