From 0c579be50de3ff46d0bc683a922e5bf0db5fd44f Mon Sep 17 00:00:00 2001 From: Paulo Almeida Date: Fri, 15 Aug 2014 14:44:06 +0100 Subject: [PATCH] Minor doc improvements --- lib/amqp/basic.ex | 2 +- lib/amqp/queue.ex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/amqp/basic.ex b/lib/amqp/basic.ex index 3e919bf..5bc03fb 100644 --- a/lib/amqp/basic.ex +++ b/lib/amqp/basic.ex @@ -98,7 +98,7 @@ defmodule AMQP.Basic do @doc """ Negative acknowledge of one or more messages. If multiple is set to `true`, all messages up to the one specified by `delivery_tag` are considered as not acknowledged by the server. If `requeue` is set to - `true`, the message will be returned to the queue and redelivered the next available consumer. + `true`, the message will be returned to the queue and redelivered to the next available consumer. This is a RabbitMQ specific extension to AMQP 0.9.1. It is equivalent to reject, but allows rejecting multiple messages using the `multiple` option. diff --git a/lib/amqp/queue.ex b/lib/amqp/queue.ex index 605e906..609411d 100644 --- a/lib/amqp/queue.ex +++ b/lib/amqp/queue.ex @@ -16,6 +16,7 @@ defmodule AMQP.Queue do * `durable`: If set, keeps the Queue between restarts of the broker * `auto-delete`: If set, deletes the Queue once all subscribers disconnect * `exclusive`: If set, only one subscriber can consume from the Queue + * `passive`: If set, raises an error unless the queue already exists """ def declare(%Channel{pid: pid}, queue \\ "", options \\ []) do