Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SbServerOptions

Hierarchy

  • SbServerOptions

Index

Properties

client

client: SbConnectionOptions<SbCredentials, ServiceBusClientOptions>

Optional logger

logger: LoggerService

Optional management

management: SbManagementClientOptions[keyof SbManagementClientOptions]

Optional name

name: string

A unique name given to this server which allow subscriber filter and other paring capabilities. When not set, the server is defined as the default server used for all events defined without filtering.

Additionally, the name is used to pair server & client together to allow sharing of resources (connections/senders/receivers). Since by default all names are empty, all servers & clients are shared.

Note that the name most be unique across all running instances (runtime scoped, not NestJS application scope) This means that only one default (empty name) server is allowed.

If a duplicate name is detected the process will throw.

Generated using TypeDoc