lib/eventbus/message.rb in eventbus-0.31 vs lib/eventbus/message.rb in eventbus-0.31.1
- old
+ new
@@ -77,12 +77,10 @@
def get(key, opts = {})
raise "You must specify a key name!" if key.nil?
section = opts.delete(:section) || self.default_section_name
-
- puts "Getting section #{section}"
return @data['PAYLOAD'][section.to_s].nil? ? nil : @data['PAYLOAD'][section.to_s][key.to_s]
end
# opts:
@@ -104,11 +102,9 @@
opts[:system_queue] = true
end
opts[:queue_name] = Queue.calc_name(queue_name, application_id, ENV['EVENTBUS_PROD_LEVEL'], opts)
- puts "Sending message to: #{opts[:queue_name]}"
-
set_special(:HEADER, :sender, $0)
send_raw self.dump, opts
end
def set_error(exception)