跳到主要内容
版本:Next

RabbitMQListenerOptions

Index

Properties

optionalautoDelete

autoDelete?: boolean

optionalconsumeOptions

consumeOptions?: { arguments?: any; consumerTag?: string; exclusive?: boolean; noAck?: boolean; noLocal?: boolean; priority?: number }

consumeOptions

optionaldeadLetterExchange

deadLetterExchange?: string

optionaldeadLetterRoutingKey

deadLetterRoutingKey?: string

optionaldurable

durable?: boolean

optionalexchange

exchange?: string

optionalexchangeOptions

exchangeOptions?: { alternateExchange?: string; arguments?: any; autoDelete?: boolean; durable?: boolean; internal?: boolean; type?: string }

exchange options

optionalexclusive

exclusive?: boolean

queue options

optionalexpires

expires?: number

optionalmaxLength

maxLength?: number

optionalmaxPriority

maxPriority?: number

optionalmessageTtl

messageTtl?: number

optionalpattern

pattern?: string

optionalprefetch

prefetch?: number

prefetch

optionalpropertyKey

propertyKey?: string

optionalqueueName

queueName?: string

optionalroutingKey

routingKey?: string

router