A one-way notification is a client-to-service interaction in which the client sends a request without expecting or receiving a reply. It is an asynchronous, one-to-one interaction style. section 8.1.1 section 8.3
With asynchronous messaging, the interaction works as follows:
- The client sends a message, typically a command, to a point-to-point channel owned by the service. section 8.3.2
- The service subscribes to that channel and processes the message without sending a reply. section 8.3.2
Table 8.1 The various interaction styles can be characterized in two dimensions: one-to-one vs one-to-many and synchronous vs. asynchronous
one-to-one |
one-to-many |
|
Synchronous |
Request/response |
- |
Asynchronous |
Asynchronous request/response One-way notifications |
Publish/subscribe Publish/Async responses |
Compare one-way notifications with other interaction styles across synchronous/asynchronous and one-to-one/one-to-many dimensions. section 8.1.1
