Sha256: 1c69837f7b41c958c368f612e21216175f5d8ef6b22dc17075ad4117fcb641cf
Contents?: true
Size: 463 Bytes
Versions: 3
Compression:
Stored size: 463 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/env.rb') class SampleConsumer include ::RosettaQueue::MessageHandler subscribes_to :foo options :durable => true attr_reader :msg def on_message(msg) @msg = msg puts "MESSAGE #{msg}" end end class SampleConsumerTwo include ::RosettaQueue::MessageHandler subscribes_to :foo options :durable => true attr_reader :msg def on_message(msg) @msg = msg end end
Version data entries
3 entries across 3 versions & 2 rubygems