“A notification component diagram with application components calling a notification API. The API uses template and preference components plus a channel dispatcher. The dispatcher sends notifications through email, SMS and push adapters.”
Comprenez les décisions qui le sous-tendent.
Gives applications one notification API.
Separates templates from recipient preferences.
Isolates email, SMS and push provider integrations.
Use this view to define the major components in a multi-channel notification service.
Questions fréquentes
Why use channel adapters?
They isolate differences between email, SMS and push providers from the rest of the notification service.
What are notification preferences?
They record a recipient's allowed channels and communication choices.
Where do templates belong?
A dedicated template component keeps message content and rendering rules separate from delivery logic.