Documentation / @super-line/adapter-rabbitmq / RabbitmqAdapterOptions
Interface: RabbitmqAdapterOptions
Defined in: index.ts:8
Options for createRabbitmqAdapter.
Properties
connection?
optionalconnection?:Connection
Defined in: index.ts:16
Bring your own (constructed) rabbitmq-client Connection — the advanced case (TLS, multi-host failover, custom heartbeat, vhost). When provided, the adapter does NOT own its lifecycle: close() leaves it open.
exchange?
optionalexchange?:string
Defined in: index.ts:18
The single durable direct exchange every node shares. Defaults to 'super-line'.
presence?
optionalpresence?:false| {livenessTtlMs?:number;snapshotIntervalMs?:number; }
Defined in: index.ts:26
Cluster presence directory (powers srv.cluster.* / srv.isOnline). On by default; set false to disable (cluster queries then throw). Pass an object to tune the gossip timings (defaults: snapshotIntervalMs 10_000, livenessTtlMs 30_000).
queuePrefix?
optionalqueuePrefix?:string
Defined in: index.ts:20
Prefix for this node's exclusive auto-delete queue (<prefix>.<uuid>). Defaults to 'sl.node'.
url?
optionalurl?:string
Defined in: index.ts:10
amqp:// (or amqps://) connection URL. The simple case.