Skip to content

Connectum API Reference / @connectum/events-amqp / types / AmqpConsumerOptions

Interface: AmqpConsumerOptions โ€‹

Defined in: packages/events-amqp/src/types.ts:603

Consumer options.

Properties โ€‹

exclusive? โ€‹

readonly optional exclusive?: boolean

Defined in: packages/events-amqp/src/types.ts:617

Whether the consumer is exclusive to this connection.

Default โ€‹

ts
false

prefetch? โ€‹

readonly optional prefetch?: number

Defined in: packages/events-amqp/src/types.ts:610

Prefetch count (QoS) โ€” how many unacknowledged messages a consumer can have at a time.

Default โ€‹

ts
10