# File lib/mq/queue.rb, line 136 def unbind exchange, opts = {} exchange = exchange.respond_to?(:name) ? exchange.name : exchange @bindings.delete exchange @mq.callback{ @mq.send Protocol::Queue::Unbind.new({ :queue => name, :exchange => exchange, :routing_key => opts[:key], :nowait => true }.merge(opts)) } self end