Monday, March 28, 2011

MSMQ

MSMQ - Microsoft Message Queuing

  • This provides One Way Communication between Client and Server.
  • In Client System(where service is consumed), MSMQ component is installed and similarly MSMQ component is installed Server system(where service is hosted).
  • As this is a One Way Communication, [Operation Contract] method should not have any return type and provide attribute IsOneWay = True
  • In Real Time, this MSMQ channel is used for writing some exceptions into event files where response of the service is not needed for a request.
  • MSMQ provides Offline Communication. Means even though service is down for a while, messages taken by client will not be lost instead it stored the message in Queue.
  • When Service is not available, giving request to service from client will not throw any exception in MSMQ. If it is HTTP, it will throw an exception.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.