Skip to main content

Notification Event Source Map

Summary

One authoritative traceability table from event documentation topic to verified source file. Every file listed exists in the reviewed repository.

Audience

Engineers, architects, QA, support and security reviewers.

Reference Content

The verified reference material for this topic is set out in the sections below.

Consumer and transport

TopicSource file
Hosted consumer, connection retry, exchange and queue declaration, 42 bindings, prefetch, ack and nack behavior, envelope parsing and all fallbacksmicroservices/src/notification-service/Messaging/NotificationEventConsumer.cs
Envelope record, its 11 fields and the effective-correlation propertymicroservices/src/notification-service/Messaging/NotificationEventEnvelope.cs
Consumer registration as the only hosted service, activity-source registrationmicroservices/src/notification-service/Program.cs
Queue name, dead-letter names, prefetch, retry bounds, staleness window, per-event channel override mapmicroservices/src/notification-service/Application/NotificationOptions.cs

Event mapping

TopicSource file
Supported-event-type list, all 42 resolver cases, template keys, audiences, channel defaults and the override helper, the four service-local payload recordsmicroservices/src/notification-service/Application/EventNotificationResolver.cs
Idempotency check, staleness guard, intent execution, ledger write, audit stages, bounded delivery retrymicroservices/src/notification-service/Application/NotificationDispatcher.cs
Retry bounds and backoff computationmicroservices/src/notification-service/Application/RetryPolicy.cs
Dispatch activity sourcemicroservices/src/notification-service/Application/NotificationTelemetry.cs
Seeded default templates for every resolver template key, and the two orphan keysmicroservices/src/notification-service/Seed/DefaultTemplateSeeder.cs
Idempotency ledger and message entity shapesmicroservices/src/notification-service/Domain/NotificationEntities.cs
Ledger uniqueness and index declarationsmicroservices/src/notification-service/Infrastructure/NotificationDbContext.cs

Publisher stack

TopicSource file
Publish implementation, AMQP properties, headers, routing key, persistent delivery, non-throwing failure semantics, lazy channel reusemicroservices/src/shared-kernel/Messaging/RabbitMqEventBus.cs
Publish contract, both overloadsmicroservices/src/shared-kernel/Messaging/IEventBus.cs
Exchange name and connection settingsmicroservices/src/shared-kernel/Messaging/RabbitMqOptions.cs
Messaging registration and the conditional outbox-processor selectionmicroservices/src/shared-kernel/Extensions/MessagingExtensions.cs
Shared integration-event base contractmicroservices/src/contracts/Events/IntegrationEvent.cs

API and legacy surfaces

TopicSource file
Test dispatch and test publish hooks, metadata construction, hard-coded schema version, forced-failure headermicroservices/src/notification-service/Api/NotificationEndpoints.cs
Legacy notification path that produces notifications without any eventControllers/NotificationsController.cs

Verification

TopicSource file
Direct and broker smoke modes, forced-failure exercise, processed-row polling in broker modemicroservices/scripts/smoke-notification.ps1

Classification

Verified source map.

Requires confirmation

None — every entry was confirmed to exist in the reviewed repository.

See Also

Keywords

  • Notification database
  • Source Map
  • Draft database documentation

Source References

  • microservices/src/notification-service/Messaging/NotificationEventConsumer.cs
  • microservices/src/notification-service/Messaging/NotificationEventEnvelope.cs
  • microservices/src/notification-service/Application/EventNotificationResolver.cs
  • microservices/src/notification-service/Application/NotificationDispatcher.cs
  • microservices/src/shared-kernel/Messaging/RabbitMqEventBus.cs
  • microservices/src/shared-kernel/Messaging/RabbitMqOptions.cs
  • microservices/src/shared-kernel/Extensions/MessagingExtensions.cs
  • microservices/src/contracts/Events/IntegrationEvent.cs
  • microservices/src/notification-service/Api/NotificationEndpoints.cs
  • microservices/src/notification-service/Application/NotificationOptions.cs
  • microservices/scripts/smoke-notification.ps1

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-21
  • Review cycle: Quarterly