Amqpx.Basic.reject

You're seeing just the function reject, go back to Amqpx.Basic module for more information.
Link to this function

reject(channel, delivery_tag, options \\ [])

Specs

reject(Amqpx.Channel.t(), delivery_tag(), keyword()) :: :ok | error()

Rejects (and, optionally, requeues) a message.

Options

  • :requeue - If set, the message is requeued by the server, otherwise it's discarded. Defaults to true.