Connectum API Reference / @connectum/events-amqp / types / AmqpAdapterOptions
Interface: AmqpAdapterOptions
Defined in: types.ts:10
Options for creating an AMQP/RabbitMQ adapter.
Properties
consumerOptions?
readonlyoptionalconsumerOptions?:AmqpConsumerOptions
Defined in: types.ts:50
Consumer options.
exchange?
readonlyoptionalexchange?:string
Defined in: types.ts:28
Exchange name for publishing and subscribing.
Default
"connectum.events"exchangeOptions?
readonlyoptionalexchangeOptions?:AmqpExchangeOptions
Defined in: types.ts:40
Exchange assertion options.
exchangeType?
readonlyoptionalexchangeType?:"topic"|"direct"|"fanout"|"headers"
Defined in: types.ts:35
Exchange type.
Default
"topic"publisherOptions?
readonlyoptionalpublisherOptions?:AmqpPublisherOptions
Defined in: types.ts:55
Publisher options.
queueOptions?
readonlyoptionalqueueOptions?:AmqpQueueOptions
Defined in: types.ts:45
Default queue assertion options.
socketOptions?
readonlyoptionalsocketOptions?:Record<string,unknown>
Defined in: types.ts:21
Socket options passed to amqplib.connect().
url
readonlyurl:string
Defined in: types.ts:16
AMQP connection URL.
Example
"amqp://guest:guest@localhost:5672"