Bunny::Channel.class_eval do def exchange_declare(name, type, opts = {}) true end def basic_publish(payload, exchange, routing_key, opts = {}) SarcasticBunny.publish_message(self, payload, exchange, routing_key, opts) end end