Amqpx.Basic.nack
You're seeing just the function
nack
, go back to Amqpx.Basic module for more information.
Link to this function
nack(channel, delivery_tag, options \\ [])
Specs
nack(Amqpx.Channel.t(), delivery_tag(), keyword()) :: :ok | error()
Negative acknowledges of one or more messages.
This is a RabbitMQ specific extension to Amqpx 0.9.1. It is equivalent to reject/3
, but allows
rejecting multiple messages using the multiple
option.
Options
:multiple
- If set, all messages up to the one specified bydelivery_tag
are considered as not acknowledged by the server. Defaults tofalse
.:requeue
- If set, the message will be returned to the queue and redelivered to the next available consumer. Defaults totrue
.