outbox for gateways

This commit is contained in:
Stephan D
2026-02-18 01:35:28 +01:00
parent 974caf286c
commit 69531cee73
221 changed files with 12172 additions and 782 deletions

View File

@@ -162,6 +162,9 @@ func (i *Imp) Start() error {
gatewayservice.WithDriverRegistry(driverRegistry),
gatewayservice.WithSettings(cfg.Settings),
}
if cfg.Messaging != nil {
opts = append(opts, gatewayservice.WithMessagingSettings(cfg.Messaging.Settings))
}
svc := gatewayservice.NewService(logger, repo, producer, opts...)
i.service = svc
return svc, nil