Skip to content

Commit 5f41e54

Browse files
committed
add anchor for task queues
1 parent f5b2c15 commit 5f41e54

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

guides/messaging/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,17 @@ S4Bupa.on ('BusinessPartner.Changed', msg => {...})
644644
Find more detailed information specific to receiving events from SAP S/4HANA in this separate guide:
645645
[→ **_Receiving Events from SAP S/4HANA_**](./s4)
646646
:::
647+
648+
649+
## [Task Queues](task-queues)
650+
651+
The _Outbox Pattern_ is a reliable strategy used in distributed systems to ensure that messages or events are consistently recorded and delivered, even in the face of failures.
652+
This pattern, however, can not only be applied to outbound messages, but to inbound messages and server-internal background tasks as well.
653+
The core principle remains the same:
654+
1. Persist the message (or _task_) in the database -- using the same transaction as the triggering action, if applicable
655+
2. Process it asynchronously afterwards -- incl. retries, if necessary
656+
657+
::: tip Read the guide
658+
Find additional information about modeling task queues in this guide:
659+
[→ **_Task Queues_**](task-queues)
660+
:::

0 commit comments

Comments
 (0)