lib/rabbit.rb in rabbit_messaging-0.7.1 vs lib/rabbit.rb in rabbit_messaging-0.8.1
- old
+ new
@@ -21,9 +21,11 @@
attribute :hooks, default: {}
attribute :environment, Symbol, default: :production
attribute :queue_name_conversion
attribute :receiving_job_class_callable
attribute :exception_notifier, default: -> { default_exception_notifier }
+ attribute :before_receiving_hooks, default: []
+ attribute :after_receiving_hooks, default: []
attribute :receive_logger, default: lambda {
Logger.new(Rails.root.join("log", "incoming_rabbit_messages.log"))
}