Sha256: 65c8d21ee160cefdffa102e13d4274a842c2b322cdb8b4574364c4b1aa03f77f
Contents?: true
Size: 415 Bytes
Versions: 1
Compression:
Stored size: 415 Bytes
Contents
module RosettaQueue class Producer < Base include MessageHandler def self.publish(destination, message, options = {}) RosettaQueue::Adapter.instance.send_message(Destinations.lookup(destination), Filters.process_sending(message), options) rescue Exception => e RosettaQueue.logger.error("Caught exception in Consumer.publish: #{$!}\n" + e.backtrace.join("\n\t")) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bmabey-rosetta_queue-0.3.3 | lib/rosetta_queue/producer.rb |