• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jaworski's test : What are the benefits of asynchronous messaging?

 
Srikanth Srikanth
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
5) ID - 05
What are the benefits of asynchronous messaging?
(A) Less coupling between the sender and receiver.
(B) Network doesn't have to be available.
(C) Does not block the sender.
(D) Good for transaction processing.
Correct answer as per test includes option B. I am pretty sure the network has to be available for the sender to communicate to the MOM provider. Jaworski means the receiving side, I guess.
 
Al Newman
Ranch Hand
Posts: 716
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably A) or C).
[ April 19, 2003: Message edited by: Alfred Neumann ]
 
Dragan Milic
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Srikanth Srikanth:
5) ID - 05
What are the benefits of asynchronous messaging?
(A) Less coupling between the sender and receiver.
(B) Network doesn't have to be available.
(C) Does not block the sender.
(D) Good for transaction processing.
Correct answer as per test includes option B. I am pretty sure the network has to be available for the sender to communicate to the MOM provider. Jaworski means the receiving side, I guess.

Hi Srikanth,
if the sender is not using a transactions for the sending the messages there is no guarantee that the message will be delivered. This fact is used by some JMS Providers (mostly on the wireless networks) to allow the sending the message even if the network is not available - the message is cached on a client untill the network is available. If the client is shut-down before the network was available the messages are lost, which is compliant with the JMS Spec (since the sending the message was not a part of an ACID transaction).
Dragan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic