Message Expiration Pattern Explained

A message might have a limited lifetime, and if it is not processed within this period, it is useless and should be discarded.

For example, a pizza order is useless when its maximum wait time is passed. The customer might have considered ordering from another shop. Also, in a highly dynamic environment like stock trading, a BUY order must be processed within seconds. If not, the order will be irrelevant as the prices can fluctuate.