Service Layer medium complexity backend
2
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

Scenario Dispatch Router

Feature: Notification Scenarios

scenario-dispatch-router

Responsibilities

  • Route notification events from the rule engine to the correct dispatch channel
  • Resolve channel (push, email, SMS) from per-scenario config and user preferences
  • Delegate to Push Notification Service or Email/SMS Dispatch Service accordingly
  • Log dispatch outcomes for observability and retry eligibility

Interfaces

routeNotification(event: NotificationEvent): Promise<void>
resolveChannel(scenarioId: string, userId: string, organizationId: string): Promise<NotificationChannel>

Relationships

Dependencies (2)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component