interface ServiceBusOptions

Options for Azure Service Bus broker.

Properties

optional
connectionString: string

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

optional
adminConnectionString: string

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

Injected transport (bypasses lazy SDK load).

optional
defaultQueue: string

Default subscription name.

optional
replyTopic: string

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

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

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

Optional logger.

Usage

import { type ServiceBusOptions } from "messaging-plugin/src/index.ts";