lib/rosetta_queue/producer.rb in cwyckoff-rosetta_queue-0.2.0 vs lib/rosetta_queue/producer.rb in cwyckoff-rosetta_queue-0.2.1
- old
+ new
@@ -8,15 +8,7 @@
rescue Exception=>e
RosettaQueue.logger.error("Caught exception in Consumer#receive: #{$!}\n" + e.backtrace.join("\n\t"))
end
- # def publish(message)
- # begin
- # connection.send_message(publish_destination, message, options)
- # rescue Exception=>e
- # RosettaQueue.logger.error("Caught exception in Producer#publish: #{$!}\n" + e.backtrace.join("\n\t"))
- # end
- # end
-
end
-end
\ No newline at end of file
+end