RabbitMqTransportOptions
Defined in: types.ts:4
Options for creating a RabbitMQ-backed pubsub transport.
Properties
Section titled “Properties”defaultSource?
Section titled “defaultSource?”
optionaldefaultSource?:string
Defined in: types.ts:22
Default CloudEvent source for publishers using this transport.
exchange?
Section titled “exchange?”
optionalexchange?:string
Defined in: types.ts:8
Durable topic exchange used for normal event delivery. Defaults to protoutil.pubsub.
interceptors?
Section titled “interceptors?”
optionalinterceptors?:PubSubInterceptor[]
Defined in: types.ts:24
Optional interceptors for transport operations.
publishTimeoutMs?
Section titled “publishTimeoutMs?”
optionalpublishTimeoutMs?:number
Defined in: types.ts:12
Optional timeout for broker publish confirms in milliseconds.
queuePrefix?
Section titled “queuePrefix?”
optionalqueuePrefix?:string
Defined in: types.ts:10
Durable queue prefix used for subscription queues. Defaults to protoutil.pubsub.queue.
scheduler?
Section titled “scheduler?”
optionalscheduler?:PubSubScheduler
Defined in: types.ts:20
Optional scheduler used for durable notBefore publish and delayed retry.
Immediate publish/subscribe does not require a scheduler. If a publish call
provides notBefore, or a handler returns ctx.retry({ delay }), the
transport throws unless a scheduler was supplied.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: types.ts:26
Optional signal that closes this transport when aborted.
url:
string
Defined in: types.ts:6
AMQP connection URL.