• Setup the transactional outbox listener to send messages.

    Parameters

    • listenerConfig: ReplicationListenerConfig

      The service configurations

    • broker: BrokerProxy

      RabbitMQ based messaging broker

    • logger: InboxOutboxLogger

      A service-common library based logger instance

    • config: {
          logLevel: string;
      }

      A service-common library based config object

      • logLevel: string
    • Optional strategies: ReplicationMessageStrategies

      Optional strategies to customize the outbox message processing

    Returns (() => Promise<void>)

    shutdown action to stop the outbox listener

      • (): Promise<void>
      • Returns Promise<void>

Generated using TypeDoc