lib/advanced_sneakers_activejob/publisher.rb in advanced-sneakers-activejob-0.4.0 vs lib/advanced_sneakers_activejob/publisher.rb in advanced-sneakers-activejob-0.5.0
- old
+ new
@@ -12,12 +12,12 @@
to: :'AdvancedSneakersActiveJob.config',
prefix: :config
private
- def log_message(publisher, message, options = {})
+ def log_message
logger.debug do
- "Publishing <#{message}> to [#{publisher.exchange.name}] with routing_key [#{options[:routing_key]}]"
+ "Publishing <#{message}> to [#{@exchange_name}] with routing_key [#{message_options[:routing_key]}]"
end
end
def on_message_return(return_info, properties, message)
if config_handle_unrouted_messages