Sha256: 0d65b828e03e726e2bb364cc5251c6adaa39dd252d6ec6378b2dcf2ec2f4b9ae
Contents?: true
Size: 290 Bytes
Versions: 8
Compression:
Stored size: 290 Bytes
Contents
require "messaging" # A consume only example class ConsumerProcessor include Messaging::Consumer subscribe("exchange", "direct", "queue", "key") def on_message(meta, payload) log.info("ConsumeProcessor channel #{meta.channel.id} received payload #{payload.inspect}") end end
Version data entries
8 entries across 8 versions & 1 rubygems