Skip to content

Commit

Permalink
Merge pull request #557 from BrunoMVPCosta/exchange_comments
Browse files Browse the repository at this point in the history
Fix comments on exchange_declare
  • Loading branch information
michaelklishin authored Aug 2, 2018
2 parents 5eb1356 + b45cd37 commit 01867cb
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 01867cb

Please sign in to comment.