Message-Oriented Middleware
To explain the concept of MOM, let's start by having a look at a simple real-world example: suppose you want to communicate with your friend Tom to tell him about a new update about some personal news he is interested in; suppose you are going to inform him about your wedding and you want to invite him as your guest. There are two options to tell Tom about your update:
- Call him on his cell phone and invite him directly
- Send him an SMS message to invite him
What's the difference between the two options? Well, in the first option, you have to have Tom's mobile available on the network, and he should be free to answer your call and get the information from you; you will be in direct contact with Tom. In the second option, you do not have to have either Tom's mobile available or him free to answer your call. You will send the SMS message, which will be handled by what's called a message broker, which will store the message and wait until Tom's mobile is available on...