Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comments on exchange_declare #557

Merged
merged 1 commit into from
Aug 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/bunny/channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1150,20 +1150,20 @@ def queue_unbind(name, exchange, opts = {})

# @group Exchange operations (exchange.*)

# Declares a echange using echange.declare AMQP 0.9.1 method.
# Declares a exchange using echange.declare AMQP 0.9.1 method.
#
# @param [String] name Exchange name
# @param [String,Symbol] type Exchange type, e.g. :fanout or :topic
# @param [Hash] opts Exchange properties
#
# @option opts [Boolean] durable (false) Should information about this echange be persisted to disk so that it
# @option opts [Boolean] durable (false) Should information about this exchange be persisted to disk so that it
# can survive broker restarts? Typically set to true for long-lived exchanges.
# @option opts [Boolean] auto_delete (false) Should this echange be deleted when it is no longer used?
# @option opts [Boolean] auto_delete (false) Should this exchange be deleted when it is no longer used?
# @option opts [Boolean] passive (false) If true, exchange will be checked for existence. If it does not
# exist, {Bunny::NotFound} will be raised.
#
# @return [AMQ::Protocol::Exchange::DeclareOk] RabbitMQ response
# @see http://rubybunny.info/articles/echanges.html Exchanges and Publishing guide
# @see http://rubybunny.info/articles/exchanges.html Exchanges and Publishing guide
# @api public
def exchange_declare(name, type, opts = {})
raise_if_no_longer_open!
Expand Down