Skip to content

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

Interface: AmqpConsumerOptions ​

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

Consumer options.

Properties ​

exclusive? ​

readonly optional exclusive?: boolean

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

Whether the private queue of a subscription without group is exclusive to the subscriber's connection, so the broker removes it with that connection. RabbitMQ 4.3 and later refuse a queue that is neither durable nor exclusive, so false works only on older brokers or where the transient_nonexcl_queues deprecated feature is permitted. Subscriptions with group use a durable shared queue by default and ignore this option.

Default ​

ts
true

prefetch? ​

readonly optional prefetch?: number

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

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

Default ​

ts
10