feat(notification-outbox): add CommunicationService outbox methods

This commit is contained in:
Joseph Doherty
2026-05-19 02:51:11 -04:00
parent 1d495d1a87
commit afdf581e32
3 changed files with 192 additions and 0 deletions

View File

@@ -288,6 +288,10 @@ akka {{
// Hand the outbox proxy to the CentralCommunicationActor so forwarded
// NotificationSubmit messages from sites are routed to the outbox singleton.
centralCommActor.Tell(new RegisterNotificationOutbox(outboxProxy));
// Hand the same proxy to the CommunicationService so the Central UI can
// Ask the outbox actor directly (query, retry, discard, KPIs).
commService?.SetNotificationOutbox(outboxProxy);
_logger.LogInformation("NotificationOutbox singleton created and registered with CentralCommunicationActor");
_logger.LogInformation("Central actors registered. CentralCommunicationActor created.");