Setu-TS
    Preparing search index...

    Interface ServiceBusOptions

    Options for Azure Service Bus broker.

    interface ServiceBusOptions {
        adminConnectionString?: string;
        client?: IServiceBusTransport;
        connectionString?: string;
        dataPlaneEvidenceMs?: number;
        defaultQueue?: string;
        logger?: { error: (msg: string) => void };
        replyTopic?: string;
        retryOptions?: ServiceBusRetryOptions;
    }
    Index
    adminConnectionString?: string

    Connection string for the administration client (reply-subscription creation). Defaults to connectionString.

    Injected transport (bypasses lazy SDK load).

    connectionString?: string

    Connection string for the Service Bus namespace. Required unless client is injected.

    dataPlaneEvidenceMs?: number

    How long a positive data-plane outcome stays authoritative, in ms. Default 5000. A negative data-plane outcome is retained until a successful publish or a positive management probe contradicts it; elapsed time alone does not report a known outage as healthy.

    Must be a positive integer; a non-finite, fractional, zero or negative value is REFUSED at construction rather than accepted (M95b review). NaN — what Number(env.X) yields for an unset variable — would otherwise freeze the window so recorded evidence never ages out, and 0 would disable it entirely, reinstating the pre-M95b behaviour. The option has no disable arm by design.

    If the value is not a positive integer

    defaultQueue?: string

    Default subscription name.

    logger?: { error: (msg: string) => void }

    Optional logger.

    replyTopic?: string

    Shared reply topic for request-reply (must pre-exist).

    retryOptions?: ServiceBusRetryOptions

    SDK retry budget for the data client (M90b / X28-6). Forwarded to ServiceBusClient only — the administration client is never given it.

    0.5.0