# File lib/amqp/queue.rb, line 860 def publish(data, opts = {}) exchange.publish(data, opts.merge(:routing_key => self.name)) end