A message is a unit of information carried through a messaging system. It may represent an event, but it does not have to: a picture sent through message-oriented middleware is a message without necessarily being an event. section 1.4.6
Messages and events differ in several ways:
- Messages may have timestamps, expiry, or ordering, but these are not required; temporal properties are fundamental to event processing. section 1.4.6
- Messaging middleware typically handles messages separately, while event processing can operate on collections of events, such as through aggregation or pattern detection. section 1.4.6
- In push-style event distribution, a producer sends event messages without waiting for consumer responses; multiple consumers may process a delivered event differently. section 2.1.3
A picture sent as a message
Sending a picture through message-oriented middleware makes it a message, but does not necessarily make it an event. section 1.4.6
Shows a producer pushing event messages to consumers without waiting for responses. section 2.1.3
