Options
All
  • Public
  • Public/Protected
  • All
Menu

The options of MoleculerModule.

Hierarchy

  • MoleculerModuleOptions

Index

Properties

Optional broker

broker?: ServiceBroker

An optional {@link ServiceBroker} instance. If provided it will be registered with MoleculerModuleOptions.brokerRegistryKey.

brokerRegistryKey

brokerRegistryKey: RegistryKey

The RegistryKey of the {@link ServiceBroker} instance. By default ServiceBrokerSymbol.

commandsRegistryKey

commandsRegistryKey: RegistryKey

The RegistryKey of the MoleculerCommandBus instance. By default CommandBusSymbol.

emitterRegistryKey

emitterRegistryKey: RegistryKey

The RegistryKey of the EmittableGateway instance. By default GatewayEmitterSymbol.

errorToConsole

errorToConsole: boolean

When true, the internal events related to "error" (i.e. command_handler_failed ...) are displayed using the broker logger. By default, false.

Optional eventBusOptions

eventBusOptions?: MoleculerEventBusOptions

Optional options for the MoleculerEventBus.

eventsRegistryKey

eventsRegistryKey: RegistryKey

The RegistryKey of the MoleculerEventBus instance. By default EventBusSymbol.

gatewayRegistryKey

gatewayRegistryKey: RegistryKey

The RegistryKey of the MoleculerGateway instance. By default GatewaySymbol.

observerRegistryKey

observerRegistryKey: RegistryKey

The RegistryKey of the ObservableGateway instance. By default GatewayObserverSymbol.

queriesRegistryKey

queriesRegistryKey: RegistryKey

The RegistryKey of the MoleculerQueryBus instance. By default QueryBusSymbol.

Generated using TypeDoc