@cloudamqp/amqp-client
    Preparing search index...

    Type Alias QueueSubscribeParams

    QueueSubscribeParams: ConsumeParams & {
        prefetch?: number;
        requeueOnNack?: boolean;
    }

    Options for AMQPQueue#subscribe. Combines consumer parameters with channel-level prefetch.

    Type declaration

    • Optionalprefetch?: number

      Per-consumer prefetch limit (sets QoS on the channel before consuming).

    • OptionalrequeueOnNack?: boolean

      Whether to requeue messages that are nacked due to a callback error. Defaults to true.