April 2026
Intermediate
491 pages
18h 4m
English
The transactional outbox pattern enables reliable communication with external systems that is transactionally linked to the application logic.
In distributed applications, messages are often exchanged between the individual applications via a messaging system. The messages inform the other systems about changes or the status of a business process.
If the messages are sent within a database transaction, an error that occurs later can cause a rollback. Thus, the data can be rolled back within a database, but messages already sent cannot be revoked or retrieved.
As shown in Figure 7.15, RegistrationService can saves a registration in the database at the start of a local process ...
Read now
Unlock full access